From e0d30359290a3a23feefb28204d92e2abca54038 Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Tue, 2 Jan 2018 20:05:27 +0000 Subject: [PATCH] Added testing with postgres to travis --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fb4ae32..d8d93ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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