forked from Ensembl/ensembl-hive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (35 loc) · 846 Bytes
/
.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
language: "perl"
perl:
- "5.10"
- "5.14"
env:
- COVERALLS=true
- COVERALLS=false
sudo: false
addons:
apt:
packages:
- unzip
- python3
before_install:
- wget https://github.com/bioperl/bioperl-live/archive/bioperl-release-1-2-3.zip
- unzip bioperl-release-1-2-3.zip
- echo -e '#!/bin/bash\n\nperl '`which psql`' "$@"' > psql
- chmod +x psql
- export PATH=$PWD:$PATH
- ln -s /usr/share/perl5/PgCommon.pm modules/
install:
- cpanm -v --installdeps --notest .
- cpanm -n Devel::Cover::Report::Coveralls
script: "./scripts/travis_run_tests.sh"
notifications:
email:
on_success: always
on_failure: always
# Get the matrix to only build coveralls support when on 5.10
matrix:
exclude:
- perl: "5.10"
env: COVERALLS=false
- perl: "5.14"
env: COVERALLS=true