summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-02-17 18:13:47 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2018-02-17 18:13:47 +0100
commit5ec1aea8ab4599a7a0945bd5754ce79c7c5cbef3 (patch)
treeb5af03caf71bcea046c3e95d3e356e71d9aa81a4 /.gitlab-ci
parentaf7aa11acebd9a34e6aee41dc77c0d7c3000fd47 (diff)
downloadpygobject-5ec1aea8ab4599a7a0945bd5754ce79c7c5cbef3.tar.gz
coverage: don't just use the major python version number for coverage files names
all py3 jobs wrote to the same file, oops..
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/test-docker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci/test-docker.sh b/.gitlab-ci/test-docker.sh
index 31be3029..97d4805a 100755
--- a/.gitlab-ci/test-docker.sh
+++ b/.gitlab-ci/test-docker.sh
@@ -7,7 +7,7 @@ python --version
python -m pip install git+https://github.com/pygobject/pycairo.git
python -m pip install flake8 pytest pytest-faulthandler coverage
-PYVER=$(python -c "import sys; sys.stdout.write(str(sys.version_info[0]))")
+PYVER=$(python -c "import sys; sys.stdout.write(''.join(map(str, sys.version_info[:3])))")
SOURCE_DIR="$(pwd)"
PY_PREFIX="$(python -c 'import sys; sys.stdout.write(sys.prefix)')"
COV_DIR="${SOURCE_DIR}/coverage"