From 52c8179463828aead5a607f43137e8f0ad319641 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Fri, 23 Sep 2016 18:09:23 +0200
Subject: [PATCH] Be more specific when running

---
 gitlab/before_test.sh | 1 -
 gitlab/test.sh        | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/gitlab/before_test.sh b/gitlab/before_test.sh
index 733b7c6..6181d97 100755
--- a/gitlab/before_test.sh
+++ b/gitlab/before_test.sh
@@ -26,5 +26,4 @@ if [ "${CI_PROJECT_NAME}" == "bob.buildout" ]; then
   run_cmd ${use_pip} install --upgrade --no-binary ":all:" zc.recipe.egg
 fi
 
-run_cmd ${use_pip} install --upgrade --no-index coverage sphinx nosetests
 run_cmd ${use_pip} install --upgrade --use-wheel --no-index --pre dist/*.whl
diff --git a/gitlab/test.sh b/gitlab/test.sh
index 463c87e..85ac251 100755
--- a/gitlab/test.sh
+++ b/gitlab/test.sh
@@ -6,8 +6,8 @@ source $(dirname ${0})/functions.sh
 run_cmd cd ${PREFIX}
 
 # The tests:
-run_cmd ${PREFIX}/bin/coverage run --source=${CI_PROJECT_NAME} ${PREFIX}/bin/nosetests -sv ${CI_PROJECT_NAME}
-run_cmd ${PREFIX}/bin/coverage report
-run_cmd ${PREFIX}/bin/sphinx-build -b doctest ${CI_PROJECT_DIR}/doc ${CI_PROJECT_NAME}/sphinx
+run_cmd ${PREFIX}/bin/python ${BOB_PREFIX_PATH}/bin/coverage run --source=${CI_PROJECT_NAME} ${BOB_PREFIX_PATH}/bin/nosetests -sv ${CI_PROJECT_NAME}
+run_cmd ${PREFIX}/bin/python ${BOB_PREFIX_PATH}/bin/coverage report
+run_cmd ${PREFIX}/bin/python ${BOB_PREFIX_PATH}/bin/sphinx-build -b doctest ${CI_PROJECT_DIR}/doc ${CI_PROJECT_NAME}/sphinx
 
 run_cmd cd ${CI_PROJECT_DIR}
-- 
GitLab