forked from inasafe/inasafe
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (23 loc) · 829 Bytes
/
docker-compose.yml
File metadata and controls
23 lines (23 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: '2.1'
services:
qgis-testing-environment:
image: ${IMAGE}:${QGIS_VERSION_TAG}
volumes:
#- ${PWD}:/tests_directory
- ./:/tests_directory
environment:
QGIS_VERSION_TAG: "${QGIS_VERSION_TAG}"
WITH_PYTHON_PEP: "${WITH_PYTHON_PEP}"
INASAFE_LOGGING_LEVEL: 50
INASAFE_DISABLE_WELCOME_MESSAGE: 1
ON_TRAVIS: "${ON_TRAVIS}"
MUTE_LOGS: "${MUTE_LOGS}"
DISPLAY: ":99"
working_dir: /tests_directory
entrypoint: /tests_directory/scripts/docker/qgis-testing-entrypoint.sh
# Enable "command:" line below to immediately run unittests upon docker-compose up
# command: qgis_testrunner.sh test_suite.test_package
# Default behaviour of the container is to standby
command: tail -f /dev/null
# qgis_testrunner.sh needs tty for tee
tty: true