From 915387ebc6c3d3d40152c8d1cfdfa029452bd74d Mon Sep 17 00:00:00 2001 From: Priit Tamboom Date: Mon, 6 Oct 2014 13:12:44 +0300 Subject: [PATCH] Robot now not exit from first error --- bin/robot | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bin/robot b/bin/robot index 195a6b3dd..0347f92b1 100755 --- a/bin/robot +++ b/bin/robot @@ -1,11 +1,11 @@ -#!/bin/bash -e - +#!/bin/bash # # Build and run everything for automatic tests # +set -o pipefail -# cd to current script directory -cd "$(dirname "$0")" +# cd to Rails root directory +cd "$(dirname "$0")"; cd .. git pull origin master bundle install --deployment @@ -27,6 +27,5 @@ echo "END_OF_RUBOCOP_RESULTS" # run tests echo "TEST_RESULTS" -RAILS_ENV=test bundle exec rake test:other +RAILS_ENV=test bundle exec rake test echo "END_OF_TEST_RESULTS" -