Skip to content

Commit

Permalink
👷 — Add CI (Gitlab CI and Travis CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldidry committed Jul 9, 2020
1 parent d4851aa commit 9d3eb5e
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.job-template: &job
image: "hatsoftwares/sympa-perl-${CI_JOB_NAME}:latest"
retry: 2
before_script:
- . ~/.bash_profile
- perl -v
script:
- for i in lib/*.pl; do perl -Ilib -c $i; done
- perl Makefile.PL
- make
- make install
- make tardist
- cpanm -L local MHonArc-*.tar.gz
- make clean

"5.10":
<<: *job
"5.12":
<<: *job
"5.14":
<<: *job
"5.16":
<<: *job
"5.18":
<<: *job
"5.20":
<<: *job
"5.22":
<<: *job
"5.24":
<<: *job
"5.26":
<<: *job
"5.28":
<<: *job
"5.30":
<<: *job
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: perl

perl:
- "5.30"
- "5.28"
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"

before_script:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V

script:
- for i in lib/*.pl; do perl -Ilib -c $i; done
- perl Makefile.PL
- make
- make install
- make tardist
- cpanm -L local MHonArc-*.tar.gz
- make clean

0 comments on commit 9d3eb5e

Please sign in to comment.