diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 25d8969764caef1bcfc89b4aa23589e32b0f6455..6dd6990dbc1ddaf9460d2e563d65740a79ddc0c5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,7 +42,7 @@ stages:
   stage: test_bob
   before_script:
     #- ./_ci/install.sh _ci #updates
-    - ./_ci/before_test.sh
+    - ./_ci/before_test.sh buildout-bob.cfg
   script:
     - ./_ci/test.sh buildout-bob.cfg
   after_script:
diff --git a/_ci/before_test.sh b/_ci/before_test.sh
index 3709c10f2ba1b13c92d1b24b23a642033dac1a8c..f1cc929bd0ecbcab255ad92c9c0fef1b45277975 100755
--- a/_ci/before_test.sh
+++ b/_ci/before_test.sh
@@ -3,7 +3,13 @@
 
 source $(dirname ${0})/functions.sh
 
-run_cmd $(dirname ${0})/before_build.sh
+NIGHTLIES=$1
+
+if [ "$NIGHTLIES" -eq '' ]; then
+  run_cmd $(dirname ${0})/before_build.sh
+else
+  run_cmd $(dirname ${0})/before_build.sh ${NIGHTLIES}
+fi
 
 # Source the newly created virtualenv
 log_info "$ source ${PREFIX}/bin/activate"