From f2d4370898c77fabd2f18ff96072a6fc4182552e Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Thu, 12 May 2016 06:59:00 +0200
Subject: [PATCH] [ci] Try removing the test prefix before starting a new test
 cycle

---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 319f3711f..98390ac5c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ py27-linux:
   - cd bin && ln -s ../src/cpulimit/src/cpulimit . && cd -
   - export COVERAGE_FILE=.coverage.django
   - export BEAT_TEST_PREFIX=/var/tmp/test_prefix
+  - rm -rf $BEAT_TEST_PREFIX
   - ./bin/coverage run --source='./beat/web' ./bin/django test --settings=beat.web.settings.test -v 2
   - export BEAT_CMDLINE_TEST_PLATFORM=django://beat.web.settings.test
   - export COVERAGE_FILE=.coverage.cmdline
-- 
GitLab