From da769db2e2122f76937a397cbf00f36ed42a30a3 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Mon, 30 Jan 2017 17:55:22 +0100 Subject: [PATCH] Allow bob.buildout to test against PyPI --- gitlab/before_test.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gitlab/before_test.sh b/gitlab/before_test.sh index 55518e9..ed27347 100755 --- a/gitlab/before_test.sh +++ b/gitlab/before_test.sh @@ -16,12 +16,12 @@ else log_info "Using pip: ${use_pip}" fi -# zc.recipe.egg needs some special installation instructions -#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 --use-wheel --no-index --pre dist/*.whl +if [ "${CI_PROJECT_NAME}" == "bob.buildout" ]; then + # zc.buildout requires special handling + run_cmd ${use_pip} install --upgrade --pre dist/*.whl +else + run_cmd ${use_pip} install --upgrade --use-wheel --no-index --pre dist/*.whl +fi # Downloads databases that may be missing (not shipped with python pkg) if [ -x ${PREFIX}/bin/bob_dbmanage.py ]; then -- GitLab