Skip to content

Commit

Permalink
Fix setup postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and 3nids committed Aug 8, 2017
1 parent ce34450 commit bbdaf14
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .ci/travis/linux/docker-build-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ ccache -z

cd /root/QGIS


printf "[qgis_test]\nhost=postgres\nport=5432\ndbname=docker\nuser=docker\npassword=docker" > ~/.pg_service.conf
export PGUSER=docker
export PGHOST=postgres
export PGPASSWORD=docker

/root/QGIS/tests/testdata/provider/testdata_pg.sh

mkdir -p build-docker &&

pushd build-docker
Expand All @@ -29,13 +37,6 @@ cmake \
-DDISABLE_DEPRECATED=ON \
-DCXX_EXTRA_FLAGS=${CLANG_WARNINGS} ..

printf "[qgis_test]\nhost=postgres\nport=5432\ndbname=docker\nuser=docker\npassword=docker" > ~/.pg_service.conf
export PGUSER=docker
export PGHOST=postgres
export PGPASSWORD=docker

/root/QGIS/tests/testdata/provider/testdata_pg.sh

export LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so

export CTEST_BUILD_COMMAND="/usr/bin/ninja"
Expand Down

0 comments on commit bbdaf14

Please sign in to comment.