forked from Ensembl/ensembl-analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
81 lines (71 loc) · 3.09 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
os: linux
dist: xenial
language: "perl"
perl:
- "5.28"
- "5.26"
- "5.24"
services:
- mysql
env:
- COVERALLS=false DB=mysql
addons:
apt:
packages:
- unzip
- graphviz
before_install:
- git clone --depth 1 https://github.com/Ensembl/ensembl.git
- git clone --depth 1 https://github.com/Ensembl/ensembl-variation.git
- git clone --depth 1 https://github.com/Ensembl/ensembl-taxonomy.git
- git clone --depth 1 https://github.com/Ensembl/ensembl-external.git
- git clone --depth 1 https://github.com/Ensembl/ensembl-killlist.git
- git clone --depth 1 https://github.com/Ensembl/ensembl-pipeline.git
- git clone --depth 1 https://github.com/Ensembl/ensembl-compara.git
- git clone --branch release/90 --depth 1 https://github.com/Ensembl/ensembl-funcgen.git
- git clone --depth 1 https://github.com/Ensembl/ensembl-hive.git
- git clone --depth 1 https://github.com/Ensembl/ensembl-io.git
- git clone --depth 1 https://github.com/Ensembl/ensembl-test.git
- git clone --depth 1 https://github.com/Ensembl/ensembl-production.git
- git clone --depth 1 https://github.com/Ensembl/GIFTS.git
- echo "We need release 56 for FuncGen modules"
- git clone --branch release/56 --depth 1 https://github.com/Ensembl/ensembl.git ensembl-56
- git clone --branch release-1-6-924 --depth 1 https://github.com/bioperl/bioperl-live.git
- git clone --branch release-1-6-9 --depth 1 https://github.com/bioperl/bioperl-run.git
- wget https://github.com/samtools/htslib/releases/download/1.3.2/htslib-1.3.2.tar.bz2
- tar -jxvf htslib-1.3.2.tar.bz2
- cd htslib-1.3.2 && make CFLAGS="-g -O2 -fPIC"
- cd ..
- wget https://github.com/samtools/samtools/releases/download/1.15.1/samtools-1.15.1.tar.bz2
- tar -jxvf samtools-1.15.1.tar.bz2
install:
- cpanm --installdeps --with-recommends --notest --cpanfile ensembl/cpanfile .
- cpanm --installdeps --with-recommends --notest --cpanfile ensembl-hive/cpanfile .
- export HTSLIB_DIR=$PWD/htslib-1.3.2
- export PERL5LIB=$PWD/bioperl-live
- cpanm --with-recommends --notest Bio::DB::HTS
- cpanm --with-recommends --notest JSON
- unset HTSLIB_DIR
- unset PERL5LIB
- cpanm --notest Proc::ProcessTable
# We don't really need the modules below this, just one module needs it (modules/Bio/EnsEMBL/Analysis/Tools/BlastDBTracking.pm) and it is not used by us
- echo "We need these modules for an unused module"
- cpanm --notest MooseX::ClassAttribute
- cpanm --notest File::Spec::Link
- cpanm --notest Readonly
# Needed for test needing connection to a DB
- cp travisci/MultiTestDB.conf.mysql modules/t/MultiTestDB.conf.mysql
- mkdir -p modules/t/test-genome-DBs/homo_sapiens
- cp -r ensembl/modules/t/test-genome-DBs/homo_sapiens/core modules/t/test-genome-DBs/homo_sapiens
# samtools
- cd samtools-1.15.1
- ./configure --prefix=/home/travis/samtools/
- make
- make install
- export PATH=/home/travis/samtools/bin:$PATH
- cd ..
script: "./travisci/harness.sh"
notifications:
email:
on_success: always
on_failure: always