-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy path.travis.yml
76 lines (66 loc) · 3.21 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
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 --quiet --depth 1 https://github.com/Ensembl/ensembl.git
- git clone --quiet --depth 1 https://github.com/Ensembl/ensembl-variation.git
- git clone --quiet --depth 1 https://github.com/Ensembl/ensembl-taxonomy.git
- git clone --quiet --depth 1 https://github.com/Ensembl/ensembl-external.git
- git clone --quiet --depth 1 https://github.com/Ensembl/ensembl-killlist.git
- git clone --quiet --depth 1 https://github.com/Ensembl/ensembl-pipeline.git
- git clone --quiet --depth 1 https://github.com/Ensembl/ensembl-compara.git
- git clone --quiet --branch release/90 --depth 1 https://github.com/Ensembl/ensembl-funcgen.git
- git clone --quiet --depth 1 https://github.com/Ensembl/ensembl-hive.git
- git clone --quiet --depth 1 https://github.com/Ensembl/ensembl-io.git
- git clone --quiet --depth 1 https://github.com/Ensembl/ensembl-test.git
- git clone --quiet --depth 1 https://github.com/Ensembl/ensembl-production.git
- git clone --quiet --depth 1 https://github.com/Ensembl/GIFTS.git
- echo "We need release 56 for FuncGen modules"
- git clone --quiet --branch release/56 --depth 1 https://github.com/Ensembl/ensembl.git ensembl-56
- git clone --quiet --branch release-1-6-924 --depth 1 https://github.com/bioperl/bioperl-live.git
- git clone --quiet --branch release-1-6-9 --depth 1 https://github.com/bioperl/bioperl-run.git
#Installing dependencies for ensembl and ensembl-hive
- cpanm --quiet --installdeps --with-recommends --notest --cpanfile ensembl/cpanfile .
- cpanm --quiet --installdeps --with-recommends --notest --cpanfile ensembl-hive/cpanfile .
# htslib
- 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 ..
# samtools
- 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
- cd samtools-1.15.1 && ./configure --prefix=/home/travis/samtools && make && make install && cd ..
# 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 --quiet --notest MooseX::ClassAttribute
- cpanm --quiet --notest File::Spec::Link
- cpanm --quiet --notest Readonly
# Environment variables needed for 'install'
- export HTSLIB_DIR=$PWD/htslib-1.3.2
- export PERL5LIB=$PWD/bioperl-live
before_script:
# 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
- unset HTSLIB_DIR
- unset PERL5LIB
- export PATH=$HOME/samtools/bin:$PATH
script: "./travisci/harness.sh"
notifications:
email:
on_success: always
on_failure: always