forked from Ensembl/ensembl-variation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
85 lines (74 loc) · 2.78 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
81
82
83
84
85
language: perl
os:
- linux
dist:
- trusty
perl:
- '5.14'
- '5.26'
env:
matrix:
- COVERALLS=true DB=mysql
- COVERALLS=false DB=mysql
global:
secure: O28fOP56ZKwOl8ftpEaL+6DUxyD7JHAg4KIA7nrOUXR1cHr9F2q0+EFtZWJb9gzhfpr5wALSfHwXfSZslCp9mX61BAzHMQxUT1ArLibJWsjA8r7/6lcm2RP4WgfH8nEIF/83gaAJrxs6Qmt4dmtDHA7qhk+X/xDCYqbtUU3sldw=
sudo: false
addons:
apt:
packages:
- unzip
services:
- mysql
before_install:
- export ENSEMBL_BRANCH=master
- git clone --branch $ENSEMBL_BRANCH --depth 1 https://github.com/Ensembl/ensembl-test.git
- git clone --branch $ENSEMBL_BRANCH --depth 1 https://github.com/Ensembl/ensembl.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-hive.git
- git clone --branch $ENSEMBL_BRANCH --depth 1 https://github.com/Ensembl/ensembl-io.git
- git clone --branch $ENSEMBL_BRANCH --depth 1 https://github.com/Ensembl/ensembl-funcgen.git
- git clone --branch release-1-6-924 --depth 1 https://github.com/bioperl/bioperl-live.git
- git clone --branch 1.9 --depth 1 https://github.com/samtools/htslib.git
- cd htslib
- make
- cd ..
- export HTSLIB_DIR=$PWD/htslib
- cd C_code/
- make
- cd ../
- export CWD=$PWD
- export DEPS=$HOME/dependencies
- mkdir -p $DEPS
- cd $DEPS
- $CWD/travisci/get_dependencies.sh
- cd $CWD
install:
- export CWD=$PWD
- export PERL5LIB=$PWD/bioperl-live:$PERL5LIB
- export DEPS=$HOME/dependencies
- export KENT_SRC="$DEPS/kent-335_base/src"
- export MACHTYPE=$(uname -m)
- export CFLAGS="-fPIC"
- cd $DEPS
- $CWD/travisci/build_c.sh
- cd $CWD
- cpanm --quiet --installdeps --with-recommends --notest --cpanfile ensembl/cpanfile .
- cpanm --quiet --installdeps --with-recommends --notest .
- cpanm --quiet -n Devel::Cover::Report::Coveralls
- cp travisci/MultiTestDB.conf.travisci modules/t/MultiTestDB.conf
matrix:
exclude:
- perl: '5.14'
env: COVERALLS=false DB=mysql
- perl: '5.26'
env: COVERALLS=true DB=mysql
script: ./travisci/harness.sh
jobs:
include:
- stage: trigger_dependent_builds
script: ./travisci/trigger-dependent-build.sh
notifications:
email:
on_success: always
on_failure: always
slack:
secure: ddpvJ5UJ+rEcllroQYpPg381+5iPDIt5VDlu1Zeepwx9KeUofJpGWO0H4SJjp75+3uKubEhaSJWnh0No296Lv8rtbZkji3rwmK/qxX3OtzVu9LtMx5+7MRQymI54D6j9gzZ2QKR0DW+K3GwBYR31KqmyZIhnKd0UeTVbEXuaQqVk2Oe4LdzZJkezNgdphuz3cFsaqd2fg85PXNgbfGLwdbGRDl+39m6wQ1nWqzTDqO/NECCeheev1OYTYXdM49rd6NyfMeUMZujwuix+YLN6Ph7ePTyxuheE+PQSvJkoFCxpnsly9rxqo/594RwcDa8OsJPLm8cN6+5L8zmb4M5UfGtUFHsK9usp96DguaadAG3esnkwdQ6QI2w8x/+3l1IesvnPJFTNtwU6iY9MvGKq6Zgb6X5tNVhrOYxV0Ixo1AB24wjd32AQWrOg2rvVpB9bIYisSlSdJJG9ON0tEykbcIOtG73PRhrgZHUswSN5lZuTf0beVnhH2Q3Lo5qbIGfsrQqG0G6/P7LgagkQ89qfexpGTSd6YfzjSyMmqcQ7dBl8/D1MtysQdHOL+R2zJB6JdFM6BZh78AzSExpQHs/do/0rObmPRM/8JcsyFgHrpWx7Ntbpy/vPKp9fGH/jOrif3Ex4Qxs0+buYR+IQpsiSqiVaTex9GOIZlwg7kuLlXdA=