summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2020-01-24 09:26:32 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2020-01-24 09:26:32 +0100
commit804511980a8883c014ca695965b482f29671ff13 (patch)
tree7d02817daac59d817ab52c638b4b6ea753e4cc89
parent28843cb1761920177e8c88baf94d147c5cb234eb (diff)
downloadpygobject-804511980a8883c014ca695965b482f29671ff13.tar.gz
CI: install pycairo from pypi not git master
master has dropped Python 2 support
-rwxr-xr-x.gitlab-ci/test-docker-old.sh3
-rwxr-xr-x.gitlab-ci/test-docker.sh3
2 files changed, 2 insertions, 4 deletions
diff --git a/.gitlab-ci/test-docker-old.sh b/.gitlab-ci/test-docker-old.sh
index de238f81..d03d983d 100755
--- a/.gitlab-ci/test-docker-old.sh
+++ b/.gitlab-ci/test-docker-old.sh
@@ -16,7 +16,6 @@ mkdir -p "${COV_DIR}"
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 pycairo pytest pytest-faulthandler coverage
python setup.py build_tests
xvfb-run -a python -m coverage run --context "${COV_KEY}" tests/runtests.py
diff --git a/.gitlab-ci/test-docker.sh b/.gitlab-ci/test-docker.sh
index 964a3674..dcf4636b 100755
--- a/.gitlab-ci/test-docker.sh
+++ b/.gitlab-ci/test-docker.sh
@@ -22,8 +22,7 @@ export PYTHONDEVMODE=1
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 pycairo flake8 pytest pytest-faulthandler coverage
export CFLAGS="-coverage -ftest-coverage -fprofile-arcs -Werror"