Added testing with postgres to travis

This commit is contained in:
Tom Bloor 2018-01-02 20:05:27 +00:00
parent 8be16867bb
commit e0d3035929
No known key found for this signature in database
GPG Key ID: 4657C7EBE42CC5CC
1 changed files with 6 additions and 1 deletions

View File

@ -1,13 +1,18 @@
sudo: false
language: perl
addons:
postgresql: "9.6"
perl:
- "5.20"
env:
- HARNESS_PERL_SWITCHES="-MDevel::Cover"
install:
- cpanm --quiet --notest --installdeps .
- cpanm --quiet --notest --installdeps --with-feature=postgres .
- cpanm Devel::Cover
script:
- prove -lr
- PEAR_TEST_PG=1 prove -lr
- cover