Added testing with postgres to travis
This commit is contained in:
parent
8be16867bb
commit
e0d3035929
1 changed files with 6 additions and 1 deletions
|
@ -1,13 +1,18 @@
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
language: perl
|
language: perl
|
||||||
|
|
||||||
|
addons:
|
||||||
|
postgresql: "9.6"
|
||||||
|
|
||||||
perl:
|
perl:
|
||||||
- "5.20"
|
- "5.20"
|
||||||
env:
|
env:
|
||||||
- HARNESS_PERL_SWITCHES="-MDevel::Cover"
|
- HARNESS_PERL_SWITCHES="-MDevel::Cover"
|
||||||
install:
|
install:
|
||||||
- cpanm --quiet --notest --installdeps .
|
- cpanm --quiet --notest --installdeps --with-feature=postgres .
|
||||||
- cpanm Devel::Cover
|
- cpanm Devel::Cover
|
||||||
script:
|
script:
|
||||||
- prove -lr
|
- prove -lr
|
||||||
|
- PEAR_TEST_PG=1 prove -lr
|
||||||
- cover
|
- cover
|
||||||
|
|
Reference in a new issue