Add support for CHECK constraint in POD producer (GH#63)
[dbsrgits/SQL-Translator.git] / .travis.yml
CommitLineData
ac217b39 1language: perl
2perl:
bb09ba5d 3 - "blead"
4 - "5.20"
5 - "5.18"
6 - "5.16"
7 - "5.14"
8 - "5.12"
9 - "5.10"
10 - "5.8"
5f80c676 11env:
bb09ba5d 12 global:
13 - COVERAGE=1
14 - DBICTEST_PG_DSN=dbi:Pg:dbname=sqlt_test
15 - DBICTEST_PG_USER=postgres
16matrix:
17 allow_failures:
18 - perl: "blead"
69b6a4fb 19before_install:
2353aa2d 20 - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
e3107d47 21 - source ~/travis-perl-helpers/init
bb09ba5d 22 - build-perl
23 - perl -V
24 - build-dist
25 - cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command
ac217b39 26install:
1011eeb5 27 - cpan-install --deps XML::Parser DBD::Pg # Optional test deps
60650d27 28 - cpan-install --coverage
06707e67 29before_script:
bb09ba5d 30 - psql -U postgres -c 'create database sqlt_test;'
31 - coverage-setup
ac217b39 32script:
bb09ba5d 33 - perl Makefile.PL
34 - prove -lrsv $(test-dirs)
ac217b39 35after_success:
bb09ba5d 36 - coverage-report