[pygobject] ci: enable pycairo for PyPy
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] ci: enable pycairo for PyPy
- Date: Wed, 13 Feb 2019 16:05:04 +0000 (UTC)
commit 680df0d52f71d531e41571893c257d4eae19ef19
Author: Christoph Reiter <reiter christoph gmail com>
Date: Wed Feb 13 16:24:49 2019 +0100
ci: enable pycairo for PyPy
It can use pycairo as a subproject now
.gitlab-ci/test-docker.sh | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/.gitlab-ci/test-docker.sh b/.gitlab-ci/test-docker.sh
index 4837d51f..7205f8b6 100755
--- a/.gitlab-ci/test-docker.sh
+++ b/.gitlab-ci/test-docker.sh
@@ -30,14 +30,10 @@ export CFLAGS="-coverage -ftest-coverage -fprofile-arcs -Werror"
/usr/bin/python3 -m pip install --user meson
export PATH="${HOME}/.local/bin:${PATH}"
export PKG_CONFIG_PATH="$(python -c 'import sys; sys.stdout.write(sys.prefix)')/lib/pkgconfig"
-# pycairo install under PyPy doesn't install a .pc file
-if [[ "${PYIMPL}" == "PyPy" ]]; then
- meson _build -Dpython="$(which python)" -Dpycairo=false
-else
- meson _build -Dpython="$(which python)"
-fi
+
+meson _build -Dpython="$(which python)"
ninja -C _build
-xvfb-run -a meson test --timeout-multiplier 4 -C _build -v
+xvfb-run -a meson test --suite pygobject --timeout-multiplier 4 -C _build -v
rm -Rf _build
# CODE QUALITY
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]