Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 091b338

Browse files
authoredMay 6, 2020
[travis] fold database loading
1 parent 9eb88f7 commit 091b338

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎.ci/travis/linux/scripts/docker-qgis-test.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ set -e
1010
############################
1111
# Restore postgres test data
1212
############################
13+
echo "travis_fold:start:postgres"
14+
echo "${bold}Load Postgres database...🐘${endbold}"
15+
1316
printf "[qgis_test]\nhost=postgres\nport=5432\ndbname=qgis_test\nuser=docker\npassword=docker" > ~/.pg_service.conf
1417
export PGUSER=docker
1518
export PGHOST=postgres
@@ -30,11 +33,15 @@ echo "Restoring postgres test data ..."
3033
/root/QGIS/tests/testdata/provider/testdata_pg.sh
3134
echo "Postgres test data restored ..."
3235
popd > /dev/null # /root/QGIS
36+
echo "travis_fold:end:postgres"
3337

3438
##############################
3539
# Restore Oracle test data
3640
##############################
3741

42+
echo "travis_fold:start:oracle"
43+
echo "${bold}Load Oracle database...🙏${endbold}"
44+
3845
export ORACLE_HOST="oracle"
3946
export QGIS_ORACLETEST_DBNAME="${ORACLE_HOST}/XEPDB1"
4047
export QGIS_ORACLETEST_DB="host=${QGIS_ORACLETEST_DBNAME} port=1521 user='QGIS' password='qgis'"
@@ -50,6 +57,7 @@ echo " done 👀"
5057
pushd /root/QGIS > /dev/null
5158
/root/QGIS/tests/testdata/provider/testdata_oracle.sh $ORACLE_HOST
5259
popd > /dev/null # /root/QGIS
60+
echo "travis_fold:end:oracle"
5361

5462
# this is proving very flaky:
5563

0 commit comments

Comments
 (0)
Please sign in to comment.