From: Tom Hughes Date: Sun, 20 Oct 2019 18:15:11 +0000 (+0100) Subject: Tidy up C database function support in travis X-Git-Tag: live~2413 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ce1f0c249e138183800df4ba546be491d82644e2?ds=sidebyside Tidy up C database function support in travis --- 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