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 |
e3bc3e3d |
24 | - cpan-install YAML XML::LibXML # author-mode configure deps |
bb09ba5d |
25 | - build-dist |
26 | - cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command |
ac217b39 |
27 | install: |
b7b5a220 |
28 | - cpan-install --deps XML::Parser DBD::Pg YAML XML::LibXML # Optional test deps |
60650d27 |
29 | - cpan-install --coverage |
06707e67 |
30 | before_script: |
bb09ba5d |
31 | - psql -U postgres -c 'create database sqlt_test;' |
32 | - coverage-setup |
ac217b39 |
33 | script: |
bb09ba5d |
34 | - perl Makefile.PL |
35 | - prove -lrsv $(test-dirs) |
ac217b39 |
36 | after_success: |
bb09ba5d |
37 | - coverage-report |