X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=.travis.yml;h=33f26899279d6b6cefe1a53204e8a8c1b7cde1f6;hb=f741008213392307f73bd65e270c42b40a71e282;hp=669baa616d8ce9a43c526e895ea5367d52dd6586;hpb=66411f23ec12bca70841300264327ce46e03887c;p=dbsrgits%2FSQL-Translator.git diff --git a/.travis.yml b/.travis.yml index 669baa6..33f2689 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,26 +1,33 @@ +sudo: false +addons: + apt: + packages: + - libgd2-xpm-dev + - graphviz + - libxml2-dev 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: + - eval $(curl https://travis-perl.github.io/init) --auto 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 CGI DBD::SQLite XML::Parser DBD::Pg # Optional test deps + - cpan-install Test::EOL Test::NoTabs # Author test deps + - cpan-install --coverage before_script: - - psql -U postgres -c 'create database sqlt_test;' - -script: - - PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -lrsv t - - cover - -after_success: - - cover -report coveralls + - psql -U postgres -c 'create database sqlt_test;'