-
Notifications
You must be signed in to change notification settings - Fork 63
/
.travis.yml
72 lines (61 loc) · 2.48 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
dist: trusty
language: "perl"
perl:
- '5.26'
- '5.14'
services:
- mysql
sudo: false
addons:
apt:
packages:
- unzip
env:
- COVERALLS=true
- COVERALLS=false
matrix:
exclude:
- perl: '5.26'
env: COVERALLS=false
- perl: '5.14'
env: COVERALLS=true
before_install:
- git clone --depth 1 https://github.com/Ensembl/ensembl-git-tools.git
- export PATH=$PWD/ensembl-git-tools/bin:$PATH
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH"
- export ENSEMBL_BRANCH='main'
- export SECONDARY_BRANCH='main'
- if [[ $TRAVIS_BRANCH =~ ^release\/[0-9]+$ ]]; then export ENSEMBL_BRANCH=$TRAVIS_BRANCH; export SECONDARY_BRANCH=$TRAVIS_BRANCH; fi
- echo "ENSEMBL_BRANCH=$ENSEMBL_BRANCH"
- git-ensembl --clone --depth 1 --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH ensembl-test
- git-ensembl --clone --depth 1 --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH ensembl
- git-ensembl --clone --depth 1 --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH ensembl-compara
- git-ensembl --clone --depth 1 --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH ensembl-variation
- git-ensembl --clone --depth 1 --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH ensembl-vep
- git-ensembl --clone --depth 1 --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH ensembl-funcgen
- git-ensembl --clone --depth 1 --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH ensembl-io
- git clone -b release-1-6-924 --depth 1 https://github.com/bioperl/bioperl-live.git
- git clone --branch 1.3.2 --depth 1 https://github.com/samtools/htslib.git
- cd htslib
- make
- export HTSLIB_DIR=$(pwd -P)
- cd ..
- cd ensembl-variation/C_code/
- make
- cd ../../
install:
- export PERL5LIB=$PERL5LIB:$PWD/bioperl-live
- cpanm -v --installdeps --with-recommends --notest --cpanfile ensembl/cpanfile .
- cpanm -v --installdeps --with-recommends --notest .
- cpanm -n Devel::Cover::Report::Coveralls
- cpanm DBD::SQLite
- cp travisci/MultiTestDB.conf.travisci t/MultiTestDB.conf
- mysql -u root -h localhost -e 'GRANT ALL PRIVILEGES ON *.* TO "travis"@"%"'
script: "./travisci/harness.sh"
notifications:
email:
on_failure: change
slack:
rooms:
secure: Bewsi8hvW4hJ5tNrPkfS9MWFRoADQHclDdTVB7pd0A0cAGUcysbLR3yzmytfyrOtUKkasL+fKut0p2xS8LnkZU5WsFsDcMTwEjoqUTe2pTna7093Re+aK+H7c8sTb/HzDjGhupIuR4om6vGbV5mBzXKfBjE+8r8ot/kFpl/ZE6k=
on_failure: change