diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2020-01-24 09:26:32 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2020-01-24 09:26:32 +0100 |
commit | 804511980a8883c014ca695965b482f29671ff13 (patch) | |
tree | 7d02817daac59d817ab52c638b4b6ea753e4cc89 | |
parent | 28843cb1761920177e8c88baf94d147c5cb234eb (diff) | |
download | pygobject-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.sh | 3 | ||||
-rwxr-xr-x | .gitlab-ci/test-docker.sh | 3 |
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" |