[pygobject/pygobject-3-34] CI: pin coverage.py to 4.x



commit e01ffce5aed3d4f66866966cb326f2aeec2cb5f8
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Fri Dec 20 10:58:21 2019 +0100

    CI: pin coverage.py to 4.x
    
    we don't support 5.x yet

 .gitlab-ci/coverage-docker.sh  | 2 +-
 .gitlab-ci/test-docker-gtk4.sh | 2 +-
 .gitlab-ci/test-docker-old.sh  | 2 +-
 .gitlab-ci/test-docker.sh      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci/coverage-docker.sh b/.gitlab-ci/coverage-docker.sh
index 2a51d036..78653efe 100755
--- a/.gitlab-ci/coverage-docker.sh
+++ b/.gitlab-ci/coverage-docker.sh
@@ -2,7 +2,7 @@
 
 set -e
 
-python -m pip install coverage
+python -m pip install "coverage<5"
 
 # Make the Windows paths match our current layout
 python ./.gitlab-ci/fixup-cov-paths.py coverage/.coverage* coverage/*.lcov
diff --git a/.gitlab-ci/test-docker-gtk4.sh b/.gitlab-ci/test-docker-gtk4.sh
index 0dd12199..a69a72e1 100755
--- a/.gitlab-ci/test-docker-gtk4.sh
+++ b/.gitlab-ci/test-docker-gtk4.sh
@@ -12,7 +12,7 @@ mkdir -p "${CCACHE_DIR}"
 
 # test
 python -m pip install git+https://github.com/pygobject/pycairo.git
-python -m pip install pytest pytest-faulthandler coverage
+python -m pip install pytest pytest-faulthandler "coverage<5"
 g-ir-inspect Gtk --version=4.0 --print-typelibs
 export TEST_GTK_VERSION=4.0
 python setup.py build_tests
diff --git a/.gitlab-ci/test-docker-old.sh b/.gitlab-ci/test-docker-old.sh
index 91312c7c..a7c12a7d 100755
--- a/.gitlab-ci/test-docker-old.sh
+++ b/.gitlab-ci/test-docker-old.sh
@@ -16,6 +16,6 @@ mkdir -p "${CCACHE_DIR}"
 
 # test
 python -m pip install git+https://github.com/pygobject/pycairo.git
-python -m pip install pytest pytest-faulthandler coverage
+python -m pip install pytest pytest-faulthandler "coverage<5"
 python setup.py build_tests
 xvfb-run -a python -m coverage run tests/runtests.py
diff --git a/.gitlab-ci/test-docker.sh b/.gitlab-ci/test-docker.sh
index 7205f8b6..d3217be6 100755
--- a/.gitlab-ci/test-docker.sh
+++ b/.gitlab-ci/test-docker.sh
@@ -22,7 +22,7 @@ mkdir -p "${CCACHE_DIR}"
 mkdir -p "${COV_DIR}"
 
 python -m pip install git+https://github.com/pygobject/pycairo.git
-python -m pip install flake8 pytest pytest-faulthandler coverage
+python -m pip install flake8 pytest pytest-faulthandler "coverage<5"
 
 export CFLAGS="-coverage -ftest-coverage -fprofile-arcs -Werror"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]