language: "perl" perl: - "5.10" - "5.14" env: - COVERALLS=true - COVERALLS=false before_install: - sudo apt-get -y update - sudo apt-get -y install unzip python3 - wget https://github.com/bioperl/bioperl-live/archive/bioperl-release-1-2-3.zip - unzip bioperl-release-1-2-3.zip - sudo sed -i '1s/usr\/bin\/perl -w/usr\/bin\/env perl/' `which psql` - 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