From e0620044fae70c11e4636d1672ee7ad00637bb06 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Thu, 22 Sep 2016 23:08:06 +0200
Subject: [PATCH] Add specificity for bob.buildout

---
 gitlab/before_test.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gitlab/before_test.sh b/gitlab/before_test.sh
index f2b32a1..7fa37f8 100755
--- a/gitlab/before_test.sh
+++ b/gitlab/before_test.sh
@@ -5,9 +5,16 @@ source $(dirname ${0})/functions.sh
 
 check_env DOCSERVER
 check_env CONDA_PREFIX
+check_env CI_PROJECT_NAME
 
 BOB_DOCUMENTATION_SERVER="${DOCSERVER}/software/bob/docs/latest/bob/%s/master/"
 PREFIX=`pwd`/${CONDA_PREFIX}
 
 run_cmd $(dirname ${0})/before_build.sh
+
+# zc.recipe.egg needs some special installation instructions
+if [ "${CI_PROJECT_NAME}" == "bob.buildout" ]; then
+  run_cmd ${use_pip} install --no-binary ":all:" zc.recipe.egg
+fi
+
 run_cmd ${PREFIX}/bin/pip install --use-wheel --no-index --pre dist/*.whl
-- 
GitLab