From f109c3fdb49481a0c75c2f746a4e317ff61eb9be Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Mon, 23 Nov 2015 15:26:18 +0100 Subject: [PATCH] Travis: prepare an "err" schema. The test/errors.load set the search_path to include the 'err' schema, which is to be created by the test itself. PostgreSQL 9.1 raises an error where 9.4 and following just accept the setting, and Travis runs a 9.1 PostgreSQL. Let's just create the schema before-hand so that we can still run tests against SET search_path from the load file. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index f6aa8b8..68958b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ before_script: - sudo -u postgres createdb -E UTF8 -O pgloader -hlocalhost pgloader - sudo -u postgres psql -h localhost -d pgloader -c "create extension ip4r;" - PGUSER=pgloader psql -h localhost -d pgloader -c "create schema expected;" + - PGUSER=pgloader psql -h localhost -d pgloader -c "create schema err;" - make --version - make script: