summaryrefslogtreecommitdiff
path: root/.gitlab-ci/test-docker.sh
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-05-03 09:12:42 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-05-03 10:32:28 +0200
commitf3f54d8be29d9f119af0de5853360b76544a2acb (patch)
tree7320f8fc606da89057b0c54a73f09e29ca95415b /.gitlab-ci/test-docker.sh
parent89705ab4b1bd8c1f76d7ac2fcd88f86a54d0befb (diff)
downloadpygobject-f3f54d8be29d9f119af0de5853360b76544a2acb.tar.gz
ci: build with meson
Diffstat (limited to '.gitlab-ci/test-docker.sh')
-rwxr-xr-x.gitlab-ci/test-docker.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci/test-docker.sh b/.gitlab-ci/test-docker.sh
index 082f5725..e8c03175 100755
--- a/.gitlab-ci/test-docker.sh
+++ b/.gitlab-ci/test-docker.sh
@@ -28,6 +28,16 @@ python -m pip install flake8 pytest pytest-faulthandler coverage
export CFLAGS="-coverage -ftest-coverage -fprofile-arcs -Werror"
+# MESON
+if [[ "${PYIMPL}" != "PyPy" ]]; then
+ # https://github.com/mesonbuild/meson/pull/3445
+ /usr/bin/python3 -m pip install --user meson
+ export PATH="${HOME}/.local/bin:${PATH}"
+ meson _build -Dpython="$(which python)"
+ ninja -C _build
+ rm -Rf _build
+fi;
+
# CODE QUALITY
python -m flake8