Commit 45212811 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Travis CI: Add database tests

parent ec93914f
Loading
Loading
Loading
Loading

.travis.travelynx.conf

0 → 100644
+12 −0
Original line number Diff line number Diff line
{
	cache => {
		schedule => '/tmp/dbf-iris-main',
		realtime => '/tmp/dbf-iris-realtime',
	},
	db => {
		host => 'localhost',
		database => 'travelynx_ci_test',
		user => 'postgres',
		password => '',
	},
};
+11 −0
Original line number Diff line number Diff line
@@ -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