mirror of
https://github.com/dimitri/pgloader.git
synced 2026-02-03 21:41:47 +01:00
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.
This commit is contained in:
parent
4e23de1b2b
commit
f109c3fdb4
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user