summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-22 07:01:59 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-22 07:01:59 +0200
commit45212811ddbd968a6d1e0080fb13a05047caff02 (patch)
tree369272c0ae398ee3059a7160a891f756b306a1c8 /.travis.yml
parentec93914f11b907d5ba1837dbf222251d963f96c1 (diff)
Travis CI: Add database tests
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 12efa98..88bd3d2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,17 @@ perl:
- "5.24"
- "5.22"
- "5.20"
+services:
+ - postgresql
+addons:
+ apt:
+ packages:
+ - libcache-perl
+ - libpq-dev
+ - libxml2-dev
+before_script:
+ - cp .travis.travelynx.conf travelynx.conf
+ - psql -c 'create database travelynx_ci_test;' -U postgres
script:
- carton install
- carton exec prove -lv