Skip to content
Permalink
Browse files

Use pg initialization script from Travis

  • Loading branch information
Sandro Santilli
Sandro Santilli committed Feb 17, 2016
1 parent 034b5c0 commit bfcf92f728fa374deb2f5f01f2dbfe7de0c14040
Showing with 3 additions and 4 deletions.
  1. +3 −4 ci/travis/linux/before_script.sh
@@ -1,5 +1,4 @@
printf "[qgis_test]\nhost=localhost\ndbname=qgis_test\nuser=postgres" > ~/.pg_service.conf
psql -c 'CREATE DATABASE qgis_test;' -U postgres
psql -f $TRAVIS_BUILD_DIR/tests/testdata/provider/testdata_pg.sql -U postgres -d qgis_test
psql -f $TRAVIS_BUILD_DIR/tests/testdata/provider/testdata_pg_reltests.sql -U postgres -d qgis_test
psql -f $TRAVIS_BUILD_DIR/tests/testdata/provider/testdata_pg_vectorjoin.sql -U postgres -d qgis_test

export PGUSER=postgres
$TRAVIS_BUILD_DIR/tests/testdata/provider/testdata_pg.sh

0 comments on commit bfcf92f

Please sign in to comment.
You can’t perform that action at this time.