Commit | Line | Data |
ac217b39 |
1 | language: perl |
2 | perl: |
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 |
11 | env: |
bb09ba5d |
12 | global: |
13 | - COVERAGE=1 |
14 | - DBICTEST_PG_DSN=dbi:Pg:dbname=sqlt_test |
15 | - DBICTEST_PG_USER=postgres |
16 | matrix: |
17 | allow_failures: |
18 | - perl: "blead" |
69b6a4fb |
19 | before_install: |
e3107d47 |
20 | - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers |
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 |
26 | install: |
bb09ba5d |
27 | - cpan-install --deps XML::Parser DBD::Pg # Optional test deps |
60650d27 |
28 | - cpan-install --coverage |
06707e67 |
29 | before_script: |
bb09ba5d |
30 | - psql -U postgres -c 'create database sqlt_test;' |
31 | - coverage-setup |
ac217b39 |
32 | script: |
bb09ba5d |
33 | - perl Makefile.PL |
34 | - prove -lrsv $(test-dirs) |
ac217b39 |
35 | after_success: |
bb09ba5d |
36 | - coverage-report |