diff --git a/gitlab/before_test.sh b/gitlab/before_test.sh
index 3709c10f2ba1b13c92d1b24b23a642033dac1a8c..93033b2e5c4bf5bb7eca4aa8c1f799b88d3fb7d6 100755
--- a/gitlab/before_test.sh
+++ b/gitlab/before_test.sh
@@ -24,3 +24,8 @@ if [ "${CI_PROJECT_NAME}" == "bob.buildout" ]; then
 fi
 
 run_cmd ${use_pip} install --upgrade --use-wheel --no-index --pre dist/*.whl
+
+# Downloads databases that may be missing (not shipped with python pkg)
+if [ -x ./bin/bob_dbmanage.py ]; then
+  run_cmd ./bin/bob_dbmanage.py all download --missing;
+fi
diff --git a/gitlab/build.sh b/gitlab/build.sh
old mode 100644
new mode 100755