forked from Ensembl/ensembl-funcgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (36 loc) · 1.1 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
language: "perl"
perl:
- "5.14"
- "5.10"
env:
- COVERALLS=true DB=mysql
- COVERALLS=false DB=mysql
sudo: false
addons:
apt:
packages:
- unzip
before_install:
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-test.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-variation.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 --with-recommends --notest --cpanfile ensembl/cpanfile .
- cpanm -n Devel::Cover::Report::Coveralls
- cpanm -n DBD::SQLite
- cpanm -n Data::Dumper
- cp travisci/MultiTestDB.conf modules/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
notifications:
email:
# on_success: always
on_failure: always