forked from Ensembl/ensembl-compara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
66 lines (56 loc) · 2.19 KB
/
.travis.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language: "perl"
perl:
- "5.14"
- "5.10"
env:
- COVERALLS=true
- COVERALLS=false
sudo: false
addons:
apt:
packages:
- unzip
before_install:
- git clone --branch release/87 --depth 1 https://github.com/Ensembl/ensembl-test.git
- git clone --branch release/87 --depth 1 https://github.com/Ensembl/ensembl-rest.git
- git clone --branch release/87 --depth 1 https://github.com/Ensembl/ensembl-funcgen.git
- git clone --branch release/87 --depth 1 https://github.com/Ensembl/ensembl-variation.git
- git clone --branch release/87 --depth 1 https://github.com/Ensembl/ensembl-io.git
- git clone --branch release/87 --depth 1 https://github.com/Ensembl/ensembl-vep.git
- git clone --branch release/87 --depth 1 https://github.com/Ensembl/ensembl.git
- git clone --branch version/2.4 --depth 1 https://github.com/Ensembl/ensembl-hive.git
- ln -s . ensembl-compara
- git clone --branch v1.6.x --depth 1 https://github.com/bioperl/bioperl-live
- git clone --branch master --depth 1 https://github.com/samtools/tabix.git
- git clone --branch master --depth 1 https://github.com/samtools/htslib.git
- git clone --branch master --depth 1 https://github.com/Ensembl/Bio-HTS
install:
- cpanm -v --installdeps --with-recommends --notest --cpanfile ensembl/cpanfile .
- cpanm -v --installdeps --with-recommends --notest --cpanfile ensembl-rest/cpanfile .
- cpanm -v --installdeps --notest .
- cpanm -n Devel::Cover::Report::Coveralls
- cp -f travisci/MultiTestDB.conf.travisci modules/t/MultiTestDB.conf
- cp -f ensembl-rest/travisci/MultiTestDB.conf.travisci ensembl-rest/t/MultiTestDB.conf
- cp -f ensembl/travisci/MultiTestDB.conf.travisci.mysql ensembl/modules/t/MultiTestDB.conf
- cd tabix
- make
- cd perl
- perl Makefile.PL
- make && make install
- cd ../../
- cd htslib
- make
- export HTSLIB_DIR=$(pwd -P)
- cd ../
- cd Bio-HTS
- perl Build.PL --htslib $HTSLIB_DIR
- ./Build
- cd ../
script: "./travisci/harness.sh"
# Get the matrix to only build coveralls support when on 5.10
matrix:
exclude:
- perl: "5.10"
env: COVERALLS=true
- perl: "5.14"
env: COVERALLS=false