.travis.yml 1.02 KB
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
notifications:
  email:
    on_success: always
    on_failure: always
38 39
  slack:
    secure: "fbxQ+yuUAKKI10MUmNeCUbLqmVoOHUhGdM2KetqT5DmSn2rHxb099040Ira2tBYmUEPb5QvIMfPZ1xgS27he4xsZIpvOLsd1Or9OOL8XqyeTLcZ/IG4rpky0ehltVXs3s4ClM+YXwCHIoR2FwVghLVn6znmRkYm3TreSDtEUC2o="
40

41 42 43 44 45 46 47 48
# 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