.travis.yml 846 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 16 17 18
sudo: false

addons:
  apt:
    packages:
    - unzip
    - python3

19 20 21
before_install:
    - wget https://github.com/bioperl/bioperl-live/archive/bioperl-release-1-2-3.zip
    - unzip bioperl-release-1-2-3.zip
22 23 24
    - echo -e '#!/bin/bash\n\nperl '`which psql`' "$@"' > psql
    - chmod +x psql
    - export PATH=$PWD:$PATH
25
    - ln -s /usr/share/perl5/PgCommon.pm modules/
26 27 28 29 30 31


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

32
script: "./scripts/travis_run_tests.sh"
33

34 35 36 37 38
notifications:
  email:
    on_success: always
    on_failure: always

39 40 41 42 43 44 45 46
# 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