-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitlab-ci.yml
43 lines (37 loc) · 924 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
43
#
# Test-job template
#
.ensembl_test_template:
image: dockerhub.ebi.ac.uk/ensembl-infrastructure/ensembl-ci-docker-images:${PERL_VERSION}
variables:
USER: "gitlabci"
ENSDIR: $CI_PROJECT_DIR/..
before_script:
- apt-get update
- apt-get install -y build-essential cpanminus git
- cd $ENSDIR
- git clone --branch=main --depth=1 https://github.com/Ensembl/ensembl.git
- git clone --branch=main --depth=1 https://github.com/Ensembl/ensembl-test.git
- cd $CI_PROJECT_DIR
- cpanm -v --installdeps --notest .
- perl Makefile.PL
- make
#
# Test jobs
#
test:perl5.26:
stage: test
extends: .ensembl_test_template
variables:
PERL_VERSION: "5.26"
COVERALLS: "false"
script:
- ./travisci/harness.sh
test:perl5.30:
stage: test
extends: .ensembl_test_template
variables:
PERL_VERSION: "5.30"
COVERALLS: "false"
script:
- ./travisci/harness.sh