Explicitly install CGI from CPAN on Travis
[dbsrgits/SQL-Translator.git] / .travis.yml
index 03595a4..0788df4 100644 (file)
@@ -1,3 +1,10 @@
+sudo: false
+addons:
+  apt:
+    packages:
+      - libgd2-xpm-dev
+      - graphviz
+      - libxml2-dev
 language: perl
 perl:
   - "blead"
@@ -17,14 +24,14 @@ matrix:
   allow_failures:
     - perl: "blead"
 before_install:
-  - git clone git://github.com/ilmari/perl-travis-helper ~/perl-travis-helper
-  - source ~/perl-travis-helper/init
+  - 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:
-  - cpan-install --deps XML::Parser DBD::Pg # Optional test deps
+  - cpan-install --deps CGI XML::Parser DBD::Pg # Optional test deps
   - cpan-install --coverage
 before_script:
   - psql -U postgres -c 'create database sqlt_test;'