-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
42 lines (36 loc) · 1000 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# Test-job template
#
.ensembl_test_template:
image: dockerhub.ebi.ac.uk/ensembl-infrastructure/ensembl-ci-docker-images:${PERL_VERSION}
variables:
USER: "gitlabci"
before_script:
- apt-get update
- apt-get install -y build-essential cpanminus git
- git clone --branch=master --depth=1 https://github.com/Ensembl/ensembl.git
- git clone --branch=release-1-6-924 --depth=1 https://github.com/bioperl/bioperl-live.git
- cpanm -v --installdeps --notest .
- cpanm -n Devel::Cover::Report::Coveralls
- perl Makefile.PL
- make
#
# Test jobs
#
test:perl5.14:
stage: test
extends: .ensembl_test_template
variables:
PERL_VERSION: "5.14"
COVERALLS: "false"
script:
- ./travisci/harness.sh
test:perl5.30:
stage: test
extends: .ensembl_test_template
variables:
PERL_VERSION: "5.30"
# Note: relies on the secret variable COVERALLS_REPO_TOKEN for report uploads to work
COVERALLS: "true"
script:
- ./travisci/harness.sh