forked from Ensembl/ensembl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (34 loc) · 1.05 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
language: "perl"
perl:
- "5.14"
- "5.12"
env:
- COVERALLS=true DB=mysql
- COVERALLS=false DB=mysql
- COVERALLS=false DB=sqlite
before_install:
- sudo apt-get -y update
- sudo apt-get -y install unzip
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-test.git
- wget https://github.com/bioperl/bioperl-live/archive/bioperl-release-1-2-3.zip
- unzip bioperl-release-1-2-3.zip
install:
- cpanm -v --installdeps --notest .
- cpanm -n Devel::Cover::Report::Coveralls
- cpanm -n DBD::SQLite
- cp travisci/MultiTestDB.conf.travisci.mysql modules/t/MultiTestDB.conf.mysql
- cp travisci/MultiTestDB.conf.travisci.SQLite modules/t/MultiTestDB.conf.SQLite
script: "./travisci/harness.sh"
# Get the matrix to only build coveralls support when on 5.14
matrix:
exclude:
- perl: "5.12"
env: COVERALLS=true DB=mysql
- perl: "5.12"
env: COVERALLS=false DB=sqlite
- perl: "5.14"
env: COVERALLS=false DB=mysql
notifications:
email:
on_success: always
on_failure: always