Unverified Commit 54f02a8b authored by Luc Didry's avatar Luc Didry
Browse files

Allow to use Gitlab CI

For those who prefer to work on Gitlab (or use Gitlab CI while using
Github[1]), here's a working .gitlab-ci.yml.

Docker images for the CI are published on
https://framagit.org/luc/DockerFiles/tree/master/sympa-perl

[1] See https://about.gitlab.com/solutions/github/
parent bce87bb7
.job-template: &job
image: "hatsoftwares/sympa-perl-${CI_JOB_NAME}:latest"
retry: 2
script:
- export p=$(pwd)
- . ~/.bash_profile
- . ~/bashrc
- coverage-install
- coverage-setup
- cpanm --quiet --notest --installdeps . --with-develop
- autoreconf -i
- ./configure
- cd src; make; cd ..
- make check-local TEST_FILES='xt/perltidy.t' || true
- make check-local TEST_FILES='t/compile_executables.t t/compile_modules.t t/Language.t t/parse_templates.t t/pod-syntax.t'
- coverage-report
- make clean
"5.8":
<<: *job
"5.10":
<<: *job
"5.12":
<<: *job
"5.14":
<<: *job
"5.16":
<<: *job
variables:
COVERAGE: 1
"5.18":
<<: *job
"5.20":
<<: *job
"5.22":
<<: *job
"5.24":
<<: *job
"5.26":
<<: *job
"5.28":
<<: *job
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment