X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=.travis.yml;h=33f26899279d6b6cefe1a53204e8a8c1b7cde1f6;hb=c0ec0e22d3f0e3852c00daac5ef5763010b410c3;hp=1a2943cc30041167bc89d1c4cfb79ff21b15bf11;hpb=e3107d4769ffe86114bd8ab63dc4ff774fcbb69f;p=dbsrgits%2FSQL-Translator.git diff --git a/.travis.yml b/.travis.yml index 1a2943c..33f2689 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,10 @@ +sudo: false +addons: + apt: + packages: + - libgd2-xpm-dev + - graphviz + - libxml2-dev language: perl perl: - "blead" @@ -17,20 +24,10 @@ 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 + - eval $(curl https://travis-perl.github.io/init) --auto install: - - cpan-install --deps XML::Parser DBD::Pg # Optional test deps + - 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;' - - coverage-setup -script: - - perl Makefile.PL - - prove -lrsv $(test-dirs) -after_success: - - coverage-report