From 1871284419266db4a08c86495de7ba35b48c5f7a Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Thu, 22 Sep 2016 22:38:51 +0200 Subject: [PATCH] Fix test functions --- gitlab/before_deploy.sh | 9 +-------- gitlab/before_test.sh | 11 ++++++++++- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/gitlab/before_deploy.sh b/gitlab/before_deploy.sh index f2b32a1..25fc0ba 100755 --- a/gitlab/before_deploy.sh +++ b/gitlab/before_deploy.sh @@ -3,11 +3,4 @@ source $(dirname ${0})/functions.sh -check_env DOCSERVER -check_env CONDA_PREFIX - -BOB_DOCUMENTATION_SERVER="${DOCSERVER}/software/bob/docs/latest/bob/%s/master/" -PREFIX=`pwd`/${CONDA_PREFIX} - -run_cmd $(dirname ${0})/before_build.sh -run_cmd ${PREFIX}/bin/pip install --use-wheel --no-index --pre dist/*.whl +run_cmd $(dirname ${0})/before_test.sh diff --git a/gitlab/before_test.sh b/gitlab/before_test.sh index 1305f3e..f2b32a1 100755 --- a/gitlab/before_test.sh +++ b/gitlab/before_test.sh @@ -1,4 +1,13 @@ #!/usr/bin/env bash # Wed 21 Sep 2016 13:08:05 CEST -run_cmd $(dirname ${0})/before_test.sh +source $(dirname ${0})/functions.sh + +check_env DOCSERVER +check_env CONDA_PREFIX + +BOB_DOCUMENTATION_SERVER="${DOCSERVER}/software/bob/docs/latest/bob/%s/master/" +PREFIX=`pwd`/${CONDA_PREFIX} + +run_cmd $(dirname ${0})/before_build.sh +run_cmd ${PREFIX}/bin/pip install --use-wheel --no-index --pre dist/*.whl -- GitLab