Skip to content
Permalink
Browse files

Add test output to postgres database startup

to debug travis
  • Loading branch information
m-kuhn committed Jan 22, 2020
1 parent c4a2bb0 commit b4eebfcd82537c5c5c8ae148adc33bf2bf44c776
Showing with 3 additions and 0 deletions.
  1. +2 −0 .ci/travis/linux/scripts/docker-qgis-test.sh
  2. +1 −0 tests/testdata/provider/testdata_pg.sh
@@ -26,7 +26,9 @@ done
echo " done 🥩"

pushd /root/QGIS > /dev/null
echo "Restoring postgres test data ..."
/root/QGIS/tests/testdata/provider/testdata_pg.sh
echo "Postgres test data restored ..."
popd > /dev/null # /root/QGIS

##############################
@@ -19,6 +19,7 @@ SCRIPTS="
dropdb --if-exists $DB
createdb $DB -E UTF8 -T template0 || exit 1
for f in ${SCRIPTS}; do
echo "Restoring $f"
psql -q --echo-errors -c "SET client_min_messages TO WARNING;" -f $f $DB -v ON_ERROR_STOP=1 || exit 1
done

0 comments on commit b4eebfc

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