summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-08-15 16:53:37 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-08-15 22:32:40 +0200
commita7dec0cc0e3b4bb07555581ed9d0f5b6752c3056 (patch)
treebf8208098f73131c162cc1c47a2fd7b6adcee39e /.gitlab-ci
parentd6c5d15941acc181f18c034b1c9c26150dd5bd41 (diff)
downloadpygobject-a7dec0cc0e3b4bb07555581ed9d0f5b6752c3056.tar.gz
ci: enable the new python 3.7 developer mode during tests
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/test-docker.sh3
-rwxr-xr-x.gitlab-ci/test-msys2.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci/test-docker.sh b/.gitlab-ci/test-docker.sh
index 46a195e0..1a6dddb8 100755
--- a/.gitlab-ci/test-docker.sh
+++ b/.gitlab-ci/test-docker.sh
@@ -15,6 +15,9 @@ export COVERAGE_FILE="${COV_DIR}/.coverage.${CI_JOB_NAME}"
export CCACHE_BASEDIR="$(pwd)"
export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
+# https://docs.python.org/3/using/cmdline.html#envvar-PYTHONDEVMODE
+export PYTHONDEVMODE=1
+
mkdir -p "${CCACHE_DIR}"
mkdir -p "${COV_DIR}"
diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2.sh
index a185939e..2b11aea6 100755
--- a/.gitlab-ci/test-msys2.sh
+++ b/.gitlab-ci/test-msys2.sh
@@ -45,6 +45,9 @@ COV_KEY="${MSYSTEM}.${PYVER}"
mkdir -p "${COV_DIR}"
export COVERAGE_FILE="${COV_DIR}/.coverage.${COV_KEY}"
+# https://docs.python.org/3/using/cmdline.html#envvar-PYTHONDEVMODE
+export PYTHONDEVMODE=1
+
$PYTHON setup.py build_tests
MSYSTEM= $PYTHON -m coverage run tests/runtests.py