summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.travelynx.conf12
-rw-r--r--.travis.yml11
2 files changed, 23 insertions, 0 deletions
diff --git a/.travis.travelynx.conf b/.travis.travelynx.conf
new file mode 100644
index 0000000..2678d10
--- /dev/null
+++ b/.travis.travelynx.conf
@@ -0,0 +1,12 @@
+{
+ cache => {
+ schedule => '/tmp/dbf-iris-main',
+ realtime => '/tmp/dbf-iris-realtime',
+ },
+ db => {
+ host => 'localhost',
+ database => 'travelynx_ci_test',
+ user => 'postgres',
+ password => '',
+ },
+};
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