.travis.yml 754 Bytes
Newer Older
1 2 3 4
language: "perl"

perl:
  - "5.10"
5
  - "5.14"
6 7

env:
8
  - COVERALLS=true
9
  - COVERALLS=false
10 11 12 13 14 15

before_install:
    - sudo apt-get -y update
    - sudo apt-get -y install unzip
    - wget https://github.com/bioperl/bioperl-live/archive/bioperl-release-1-2-3.zip
    - unzip bioperl-release-1-2-3.zip
16
    - sudo sed -i '1s/usr\/bin\/perl -w/usr\/bin\/env perl/' `which psql`
17 18 19 20 21 22


install:
    - cpanm -v --installdeps --notest .
    - cpanm -n Devel::Cover::Report::Coveralls

23
script: "./scripts/travis_run_tests.sh"
24

25 26 27 28 29
notifications:
  email:
    on_success: always
    on_failure: always

30 31 32 33 34 35 36 37
# 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