forked from Ensembl/ensembl-datacheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (40 loc) · 1.77 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
dist: trusty
language: "perl"
perl:
- "5.14"
env:
- COVERALLS=true DB=mysql
sudo: false
addons:
apt:
packages:
- unzip
- sendmail
- graphviz
before_install:
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH"
- export ENSEMBL_BRANCH=master
- if [[ $TRAVIS_BRANCH =~ ^release\/[0-9]+$ ]]; then export ENSEMBL_BRANCH=$TRAVIS_BRANCH; fi
- echo "ENSEMBL_BRANCH=$ENSEMBL_BRANCH"
- git clone --branch $ENSEMBL_BRANCH --depth 1 https://github.com/Ensembl/ensembl.git
- git clone --branch $ENSEMBL_BRANCH --depth 1 https://github.com/Ensembl/ensembl-funcgen.git
- git clone --branch version/2.5 --depth 1 https://github.com/Ensembl/ensembl-hive.git
- git clone --branch $ENSEMBL_BRANCH --depth 1 https://github.com/Ensembl/ensembl-metadata.git
- 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-variation.git
- git clone --branch $ENSEMBL_BRANCH --depth 1 https://github.com/Ensembl/ensembl-compara.git
- wget https://github.com/bioperl/bioperl-live/archive/release-1-6-924.zip
- unzip release-1-6-924.zip
install:
- cpanm --installdeps --with-recommends --notest --cpanfile ensembl/cpanfile .
- cpanm --installdeps --notest --cpanfile ensembl-hive/cpanfile .
- cpanm --installdeps --notest .
- cpanm -n Devel::Cover::Report::Coveralls
- cp travisci/MultiTestDB.conf.travisci.mysql t/MultiTestDB.conf.mysql
script: "./travisci/harness.sh"
notifications:
email:
on_success: always
on_failure: always
slack:
secure: BkrSPAkOM5aTOpeyO9vZnHdZ0LF1PLk0r2HtcXN2eTMyiHoGXkl6VUjdAL8EkzI4gunW2GProdSIjHpf60WdiEmKAulMdJRI+xyUbuxnY31mwiikS9HYwqmPBbMTf0Mh2pMBngZRFs+gaFZDUMTfLfp+8MQfU1R54yb6hPuVt5I=