summaryrefslogtreecommitdiff
path: root/ci/ciimage/common.sh
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2021-06-07 17:20:02 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-06-11 11:10:55 +0200
commit25f2d8826e7c99d3e022e5774ff4530c2af5b0ba (patch)
treeff822df754380dde5d1843225985fb80b76b8d31 /ci/ciimage/common.sh
parent1ab0694556b6c0117b7b5072ec906dee2029adec (diff)
downloadmeson-25f2d8826e7c99d3e022e5774ff4530c2af5b0ba.tar.gz
ci: Fix CI image builder
Diffstat (limited to 'ci/ciimage/common.sh')
-rw-r--r--ci/ciimage/common.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/ci/ciimage/common.sh b/ci/ciimage/common.sh
index c8940df6d..707b7515f 100644
--- a/ci/ciimage/common.sh
+++ b/ci/ciimage/common.sh
@@ -8,6 +8,23 @@
###
set -e
+set -x
+
+base_python_pkgs=(
+ pytest
+ pytest-xdist
+ coverage
+ codecov
+ jsonschema
+)
+
+python_pkgs=(
+ cython
+ gobject
+ PyGObject
+ lxml
+ gcovr
+)
dub_fetch() {
set +e
@@ -20,3 +37,11 @@ dub_fetch() {
done
set -e
}
+
+install_minimal_python_packages() {
+ python3 -m pip install "${base_python_pkgs[@]}" $*
+}
+
+install_python_packages() {
+ python3 -m pip install "${base_python_pkgs[@]}" "${python_pkgs[@]}" $*
+}