-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
52 lines (41 loc) · 1.22 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
language: "perl"
services:
- mysql
perl:
- "5.26"
- "5.14"
env:
- 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 version/2.3 --depth 1 https://github.com/Ensembl/ensembl-hive.git
- wget https://github.com/bioperl/bioperl-live/archive/release-1-6-924.zip
- unzip release-1-6-924.zip
install:
- cpanm --sudo -n Devel::Cover::Report::Coveralls
- cpanm --sudo -n DBD::SQLite
- cpanm --sudo -n JSON
- cp travisci/MultiTestDB.conf.travisci.mysql modules/t/MultiTestDB.conf.mysql
- cp travisci/MultiTestDB.conf.travisci.SQLite modules/t/MultiTestDB.conf.SQLite
- cd ensembl && cpanm --sudo --installdeps .
- cd -
script: "./travisci/harness.sh"
# Get the matrix to only build coveralls support when on 5.10
matrix:
exclude:
- perl: "5.14"
env: COVERALLS=false DB=mysql
- perl: "5.14"
env: COVERALLS=false DB=sqlite
- perl: "5.14"
env: COVERALLS=true DB=mysql
notifications:
email:
on_success: always
on_failure: always