try to use default postgis with trusty and sudo required

This commit is contained in:
Stepan Kuzmin 2018-01-18 14:49:04 +03:00
parent 5e66aec98c
commit edaa2fdd52

View File

@ -21,9 +21,9 @@ env:
- DATABASE_URL=postgres://postgres@localhost/test
before_script:
- sudo apt-get -qq update
- sudo apt-cache search postgis
- sudo apt-get install -y postgresql-9.6-postgis-2.4
# - sudo apt-get -qq update
# - sudo apt-cache search postgis
# - sudo apt-get install -y postgresql-9.6-postgis-2.4
- psql -U postgres -c 'create database test'
- psql -U postgres -d test -c 'create extension postgis'
- psql -U postgres -d test -f fixtures/tilebbox.sql