From 3c92a4c106611a33a96669eb82969578a3072bfa Mon Sep 17 00:00:00 2001 From: nitramiz Date: Tue, 21 May 2019 04:40:08 -0700 Subject: [PATCH] sleep if tests failed so we can debug --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28bc75f..112a2ef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,9 +29,8 @@ test_build: - export REDIS_URI=$REDIS_URI_CI script: - bundle exec rake db:create && bundle exec rake db:schema:load && bundle exec rake db:migrate - - bundle exec ruby tests/tests.rb || { echo "Tests failed.."; exit 1; } + - bundle exec ruby tests/tests.rb || { echo -e "Tests failed..\n Sleeping for an hour to debug."; sleep 3600; exit 1; } - echo "Tests passed!" - - sleep 5000 # Run tests and build docker images build: