From d47f540daeba538f787ae8be3b9e3e7779e8d67c Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@idiap.ch>
Date: Mon, 11 Mar 2019 09:41:23 +0100
Subject: [PATCH] [gitlabci] Add --noinput to when running tests

This ensure that if the database was not cleaned on last run, it
won't block waiting for the answer to the question.

No database cleanup usually means that the tests were forcefully
stopped.
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d990672c6..f7e6c3d9a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,7 +27,7 @@ build_linux_36:
     - buildout
     - python -c "from beat.core.test.utils import pull_docker_test_images as f; f()"
     - export COVERAGE_FILE=.coverage.django
-    - ./bin/coverage run --source=${CI_PROJECT_NAME} ./bin/django test --settings=beat.web.settings.ci -v 2
+    - ./bin/coverage run --source=${CI_PROJECT_NAME} ./bin/django test --settings=beat.web.settings.ci -v 2 --noinput
     - export BEAT_CMDLINE_TEST_PLATFORM="django://beat.web.settings.ci"
     - export COVERAGE_FILE=.coverage.cmdline
     - export NOSE_WITH_COVERAGE=1
-- 
GitLab