File tree 4 files changed +20
-4
lines changed
4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
+ # locale-gen en_US.UTF-8
6
+ # export LANG=en_US.UTF-8
7
+ # export LANGUAGE=en_US:en
8
+ # export LC_ALL=en_US.UTF-8
9
+
5
10
export CTEST_PARALLEL_LEVEL=1
6
11
export CCACHE_TEMPDIR=/tmp
7
12
ccache -M 500M
8
13
ccache -z
9
14
10
15
cd /root/QGIS
11
16
12
- printf " [qgis_test]\nhost=postgres\nport=5432\ndbname=docker\nuser=docker\npassword=docker" > ~ /.pg_service.conf
17
+ sleep 20
18
+
19
+ printf " [qgis_test]\nhost=postgres\nport=5432\ndbname=qgis_test\nuser=docker\npassword=docker" > ~ /.pg_service.conf
13
20
export PGUSER=docker
14
21
export PGHOST=postgres
15
22
export PGPASSWORD=docker
23
+ export PGDATABASE=qgis_test
24
+
25
+ # export PYTHONIOENCODING="utf-8"
16
26
17
27
/root/QGIS/tests/testdata/provider/testdata_pg.sh
18
28
@@ -37,7 +47,6 @@ cmake \
37
47
-DCXX_EXTRA_FLAGS=${CLANG_WARNINGS} ..
38
48
39
49
export LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
40
-
41
50
export CTEST_BUILD_COMMAND=" /usr/bin/ninja"
42
51
43
52
ninja
Original file line number Diff line number Diff line change @@ -105,4 +105,9 @@ ENV QT_SELECT=5
105
105
106
106
RUN apt-get install -y git
107
107
108
+ # RUN locale-gen en_US.UTF-8
109
+ # ENV LANG=en_US.UTF-8
110
+ # ENV LANGUAGE=en_US:en
111
+ # ENV LC_ALL=en_US.UTF-8
112
+
108
113
CMD /root/QGIS/.ci/travis/linux/docker-build-test.sh
Original file line number Diff line number Diff line change @@ -2,9 +2,11 @@ version: '3'
2
2
services :
3
3
postgres :
4
4
image : kartoza/postgis:9.5-2.2
5
- command : sh -c "echo \"host all all 172.18.0.0/16 md5\" >> /etc/postgresql/9.5/main/pg_hba.conf && /start-postgis.sh"
5
+ environment :
6
+ - ALLOW_IP_RANGE="172.18.0.0/16"
6
7
7
8
qgis-deps :
9
+ tty : true
8
10
image : qgis/qgis3-build-deps:${DOCKER_TAG}
9
11
volumes :
10
12
- ${TRAVIS_BUILD_DIR}:/root/QGIS
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ SCRIPTS="
14
14
dropdb qgis_test 2> /dev/null || true
15
15
createdb qgis_test || exit 1
16
16
for f in ${SCRIPTS} ; do
17
- psql --echo-errors -f $f qgis_test -v ON_ERROR_STOP=1
17
+ psql -q - -echo-errors -f $f qgis_test -v ON_ERROR_STOP=1
18
18
done
You can’t perform that action at this time.
0 commit comments