]> git.openstreetmap.org Git - rails.git/commitdiff
Tidy up C database function support in travis
authorTom Hughes <tom@compton.nu>
Sun, 20 Oct 2019 18:15:11 +0000 (19:15 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 20 Oct 2019 18:15:11 +0000 (19:15 +0100)
.travis.yml

index 7137c22684ee963972e9db908af1d7f57b56795f..18f4ee2aa8499810179316bbe3ba1a74c91e70f5 100644 (file)
@@ -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