Merge "Migrate didm matrix-verify jobs to freestyle-verify jobs"
[releng/builder.git] / jjb / integration / include-raw-integration-install-robotframework.sh
index 59e870e24b96c07da39379b9d13f604be16ed202..11739f8068be52f2eed0db3dafe73d417d04fc2f 100644 (file)
 ROBOT_VENV=`mktemp -d --suffix=robot_venv`
 echo ROBOT_VENV=${ROBOT_VENV} >> ${WORKSPACE}/env.properties
 
-virtualenv ${ROBOT_VENV}
+# The --system-site-packages parameter allows us to pick up system level
+# installed packages. This allows us to bake matplotlib which takes very long
+# to install into the image.
+virtualenv --system-site-packages ${ROBOT_VENV}
 source ${ROBOT_VENV}/bin/activate
 
 set -exu
@@ -29,7 +32,9 @@ pip install --upgrade jsonpath-rw
 
 # Modules for longevity framework robot library
 pip install elasticsearch==1.7.0 elasticsearch-dsl==0.0.11
-pip install --upgrade matplotlib
+
+# Module for pyangbind used by lispflowmapping project
+pip install pyangbind==0.5.6
 
 # Print installed versions.
 pip freeze