X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=.travis.yml;h=0788df4a18f8b5cb5fe49af05ececed9578aed8f;hb=dd7dcde649077c79ecb908bcb472f2039cc0436b;hp=677aae97d0b4c06bf06ab76aea288a3013215326;hpb=85b80e6d86df755cdcbb0f5ef9f17e60ffb12aaf;p=dbsrgits%2FSQL-Translator.git diff --git a/.travis.yml b/.travis.yml index 677aae9..0788df4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,43 @@ +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 - + global: + - COVERAGE=1 + - DBICTEST_PG_DSN=dbi:Pg:dbname=sqlt_test + - DBICTEST_PG_USER=postgres +matrix: + allow_failures: + - perl: "blead" +before_install: + - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers + - source ~/travis-perl-helpers/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 YAML Spreadsheet::ParseExcel Template - - perl Makefile.PL - - cpanm --quiet --notest --installdeps . - + - cpan-install --deps CGI XML::Parser DBD::Pg # Optional test deps + - cpan-install --coverage +before_script: + - 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