Loading .travis.yml +7 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,13 @@ addons: - postgresql-9.6-postgis-2.4 before_install: - psql -c 'create database travis_ci_test;' -U postgres - psql -U postgres -c "create extension postgis" # Create the template database that is used to instantiate the test DB - psql -c 'create database template_postgis;' -U postgres - psql template_postgis -U postgres -c "create extension postgis" - psql template_postgis -c "create extension postgis_topology" - psql -d template_postgis -c "GRANT ALL ON geometry_columns TO PUBLIC;" - psql -d template_postgis -c "GRANT ALL ON geography_columns TO PUBLIC;" - psql -d template_postgis -c "GRANT ALL ON spatial_ref_sys TO PUBLIC;" install: # We do this conditionally because it saves us some downloading if the Loading Loading
.travis.yml +7 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,13 @@ addons: - postgresql-9.6-postgis-2.4 before_install: - psql -c 'create database travis_ci_test;' -U postgres - psql -U postgres -c "create extension postgis" # Create the template database that is used to instantiate the test DB - psql -c 'create database template_postgis;' -U postgres - psql template_postgis -U postgres -c "create extension postgis" - psql template_postgis -c "create extension postgis_topology" - psql -d template_postgis -c "GRANT ALL ON geometry_columns TO PUBLIC;" - psql -d template_postgis -c "GRANT ALL ON geography_columns TO PUBLIC;" - psql -d template_postgis -c "GRANT ALL ON spatial_ref_sys TO PUBLIC;" install: # We do this conditionally because it saves us some downloading if the Loading