diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-02-17 18:13:47 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-02-17 18:13:47 +0100 |
commit | 5ec1aea8ab4599a7a0945bd5754ce79c7c5cbef3 (patch) | |
tree | b5af03caf71bcea046c3e95d3e356e71d9aa81a4 /.gitlab-ci | |
parent | af7aa11acebd9a34e6aee41dc77c0d7c3000fd47 (diff) | |
download | pygobject-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.sh | 2 |
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" |