X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=.travis.yml;h=497d09874366b8e7edc053d53718b551ee428088;hb=HEAD;hp=acf1df23896f4631f4f2a1c4cdf6e9e7c3edf42c;hpb=86c68a0f3f41305f6ce2d7ad1a4f9edc010c2b99;p=dbsrgits%2FSQL-Translator.git diff --git a/.travis.yml b/.travis.yml index acf1df2..497d098 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,16 +25,25 @@ env: - COVERAGE="coveralls codecov" - DBICTEST_PG_DSN=dbi:Pg:dbname=sqlt_test - DBICTEST_PG_USER=postgres + - SPLIT_BUILD=0 matrix: allow_failures: - perl: "blead" - perl: "dev" before_install: - - eval $(curl https://travis-perl.github.io/init) --auto + - eval $(curl https://travis-perl.github.io/init) --perl + - cpan-install File::ShareDir::Install # absolute minimum for Makefile.PL + - perl Makefile.PL # generate deps + - cpan-install --deps # so can regen t/data/roundtrip_autogen.yaml install: + - build-dist + - cd $BUILD_DIR - $HELPERS_ROOT/bin/cpan-config - 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: + - perl Makefile.PL && make test +services: + - postgresql