Skip to content

Commit b2f3b55

Browse files
committedMar 8, 2019
kkk
1 parent e655d0f commit b2f3b55

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
 

‎.ci/travis/linux/script.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ docker run -t --name qgis_container \
2727
# commit container
2828
docker commit qgis_container qgis_image
2929

30-
# running tests for the python test runner
31-
docker run -d --name qgis-testing-environment -v ${TRAVIS_BUILD_DIR}/tests/src/python:/tests_directory -e DISPLAY=:99 qgis_image "/usr/bin/supervisord -c /etc/supervisor/supervisord.conf"
32-
3330
# running QGIS tests in commited image
3431
docker-compose -f ${TRAVIS_BUILD_DIR}/.ci/travis/linux/docker-compose.travis.yml run qgis-deps /root/QGIS/.ci/travis/linux/scripts/docker-qgis-test.sh
3532

33+
# running tests for the python test runner
34+
docker run -d --name qgis-testing-environment -v ${TRAVIS_BUILD_DIR}/tests/src/python:/tests_directory -e DISPLAY=:99 qgis_image "/usr/bin/supervisord -c /etc/supervisor/supervisord.conf"
35+
sleep 8 # Wait for xvfb to finish starting
3636

3737
declare -A testrunners
3838
# Passing cases:

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
set -e
44

5+
# wait for the DB to be available
6+
sleep
7+
58
# Temporarily uncomment to debug ccache issues
69
# echo "travis_fold:start:ccache-debug"
710
# cat /tmp/cache.debug

0 commit comments

Comments
 (0)
Please sign in to comment.