From ce1f0c249e138183800df4ba546be491d82644e2 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 20 Oct 2019 19:15:11 +0100 Subject: [PATCH] Tidy up C database function support in travis --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7137c2268..18f4ee2aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ addons: postgresql: 9.5 apt: packages: - - postgresql-server-dev-9.5 - libarchive-dev services: - memcached @@ -16,7 +15,7 @@ env: global: - OSM_MEMCACHE_SERVERS="127.0.0.1" before_script: - - sed -e "/idle_in_transaction_session_timeout/d" -e 's/ IMMUTABLE / /' -e "s/AS '.*libpgosm.*',/AS 'libpgosm',/" -e "/^--/d" db/structure.sql > db/structure.expected + - sed -e "/idle_in_transaction_session_timeout/d" -e 's/ IMMUTABLE / /' -e "/^--/d" db/structure.sql > db/structure.expected - psql -U postgres -c "CREATE DATABASE openstreetmap" - psql -U postgres -c "CREATE EXTENSION btree_gist" openstreetmap - psql -U postgres -f db/functions/functions.sql openstreetmap -- 2.39.5