-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
61 lines (49 loc) · 1.72 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
language: "perl"
perl:
- "5.22"
- "5.18"
- "5.14"
- "5.10"
services:
- mysql
env:
- COVERALLS=false DB=mysql
- COVERALLS=true DB=mysql
sudo: false
addons:
apt:
packages:
- unzip
before_install:
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-test.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-killlist.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-compara.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-funcgen.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-hive.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-io.git
- git clone -b release-1-6-924 --depth 1 https://github.com/bioperl/bioperl-live.git
install:
# install the modules that are part of standard ensembl
- cpanm -v --installdeps --with-recommends --notest --cpanfile ensembl/cpanfile .
# install the modules just used here - could put this into a cpanfile
- cpanm --notest Perl::Tidy
- cpanm --notest Test::Code::TidyAll
- cpanm --notest Devel::Cover::Report::Coveralls
- cp travisci/MultiTestDB.conf.travisci.mysql t/MultiTestDB.conf
script: "./travisci/harness.sh"
# Get the matrix to only build coveralls support when on 5.10
matrix:
exclude:
- perl: "5.10"
env: COVERALLS=false DB=mysql
- perl: "5.14"
env: COVERALLS=true DB=mysql
- perl: "5.18"
env: COVERALLS=true DB=mysql
- perl: "5.22"
env: COVERALLS=true DB=mysql
notifications:
email:
on_success: always
on_failure: always