Skip to content
Permalink
Browse files

Fix setup postgres

  • Loading branch information
m-kuhn authored and 3nids committed Aug 8, 2017
1 parent 082ec7a commit ce38bbc224652bb94d026f607dcb96879b114c1d
Showing with 8 additions and 7 deletions.
  1. +8 −7 .ci/travis/linux/docker-build-test.sh
@@ -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
@@ -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"

0 comments on commit ce38bbc

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