From: Dagfinn Ilmari Mannsåker Date: Fri, 25 Jul 2014 11:39:20 +0000 (+0100) Subject: Test Parser::DBI::PostgreSQL in Travis X-Git-Tag: v0.11019~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=06707e672ac7e0e3a175ac1da1c85028423243da;p=dbsrgits%2FSQL-Translator.git Test Parser::DBI::PostgreSQL in Travis --- diff --git a/.travis.yml b/.travis.yml index f8a34c9..f8fe6e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,12 +9,17 @@ perl: env: - PERL_MM_USE_DEFAULT=1 + - DBICTEST_PG_DSN=dbi:Pg:dbname=sqlt_test + - DBICTEST_PG_USER=postgres 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 + - 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 - perl Makefile.PL - cpanm --quiet --notest --installdeps . +before_script: + - psql -U postgres -c 'create database sqlt_test;' + script: - PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -lrsv t - cover