summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-12-20 16:42:46 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2019-12-20 16:42:46 +0100
commit7263d940b731660d06648d9d510cdc270c731aaa (patch)
treed571a6682ed272b1e8a3e1a13d37304378d48efc
parent5a3033d8e249ad4a739a65bc49cc1c2a4cb142b9 (diff)
downloadpygobject-7263d940b731660d06648d9d510cdc270c731aaa.tar.gz
Revert "CI: pin coverage.py version to 4.x, we don't support 5.x yet"
This reverts commit 5a3033d8e249ad4a739a65bc49cc1c2a4cb142b9.
-rwxr-xr-x.gitlab-ci/coverage-docker.sh2
-rwxr-xr-x.gitlab-ci/test-docker-old.sh2
-rwxr-xr-x.gitlab-ci/test-docker.sh2
-rwxr-xr-x.gitlab-ci/test-flatpak-gtk4.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci/coverage-docker.sh b/.gitlab-ci/coverage-docker.sh
index 78653efe..2a51d036 100755
--- a/.gitlab-ci/coverage-docker.sh
+++ b/.gitlab-ci/coverage-docker.sh
@@ -2,7 +2,7 @@
set -e
-python -m pip install "coverage<5"
+python -m pip install coverage
# 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-old.sh b/.gitlab-ci/test-docker-old.sh
index 0154c7aa..8d451bc0 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<5"
+python -m pip install pytest pytest-faulthandler coverage
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 d3217be6..7205f8b6 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<5"
+python -m pip install flake8 pytest pytest-faulthandler coverage
export CFLAGS="-coverage -ftest-coverage -fprofile-arcs -Werror"
diff --git a/.gitlab-ci/test-flatpak-gtk4.sh b/.gitlab-ci/test-flatpak-gtk4.sh
index acfc3be0..189d63cd 100755
--- a/.gitlab-ci/test-flatpak-gtk4.sh
+++ b/.gitlab-ci/test-flatpak-gtk4.sh
@@ -7,7 +7,7 @@ export COVERAGE_FILE="${COV_DIR}/.coverage.gtk4"
mkdir -p "${COV_DIR}"
export TEST_GTK_VERSION=4.0
-python3 -m pip install --user pytest pytest-faulthandler "coverage<5"
+python3 -m pip install --user pytest pytest-faulthandler coverage
python3 setup.py build_tests
python3 -m coverage run tests/runtests.py
chmod -R 777 "${COV_DIR}" \ No newline at end of file