From: Dagfinn Ilmari Mannsåker Date: Tue, 12 Aug 2014 17:30:11 +0000 (+0100) Subject: Switch to @haarg's perl-travis-helper, add 5.20 and blead X-Git-Tag: v0.11019~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bb09ba5d37041f71f2f9be0bec150e9b88b7ecb3;p=dbsrgits%2FSQL-Translator.git Switch to @haarg's perl-travis-helper, add 5.20 and blead --- diff --git a/.travis.yml b/.travis.yml index e2c6fe6..015b555 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,30 +1,35 @@ language: perl perl: - - "5.18" - - "5.16" - - "5.14" - - "5.12" - - "5.10" - - "5.8" - + - "blead" + - "5.20" + - "5.18" + - "5.16" + - "5.14" + - "5.12" + - "5.10" + - "5.8" env: - - PERL_MM_USE_DEFAULT=1 DBICTEST_PG_DSN=dbi:Pg:dbname=sqlt_test DBICTEST_PG_USER=postgres - + global: + - COVERAGE=1 + - DBICTEST_PG_DSN=dbi:Pg:dbname=sqlt_test + - DBICTEST_PG_USER=postgres +matrix: + allow_failures: + - perl: "blead" before_install: - - sudo apt-get update -qq - - sudo apt-get install -y libgd2-xpm-dev - + - git clone git://github.com/haarg/perl-travis-helper ~/perl-travis-helper + - source ~/perl-travis-helper/init + - build-perl + - perl -V + - build-dist + - cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command install: - - cpanm --quiet --notest Devel::Cover::Report::Coveralls Module::Install::ReadmeFromPod Module::Install::AuthorTests DBI Package::Variant Parse::RecDescent XML::LibXML XML::Parser YAML Spreadsheet::ParseExcel Template DBD::Pg Graph::Directed GD || (cat "$HOME/.cpanm/build.log" >&2; false) - - perl Makefile.PL - - cpanm --quiet --notest --installdeps . - + - cpan-install --deps XML::Parser DBD::Pg # Optional test deps before_script: - - psql -U postgres -c 'create database sqlt_test;' - + - psql -U postgres -c 'create database sqlt_test;' + - coverage-setup script: - - PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -lrsv t - - cover - + - perl Makefile.PL + - prove -lrsv $(test-dirs) after_success: - - cover -report coveralls + - coverage-report