Robot now not exit from first error

This commit is contained in:
Priit Tamboom 2014-10-06 13:12:44 +03:00
parent 416128823b
commit 915387ebc6

View file

@ -1,11 +1,11 @@
#!/bin/bash -e #!/bin/bash
# #
# Build and run everything for automatic tests # Build and run everything for automatic tests
# #
set -o pipefail
# cd to current script directory # cd to Rails root directory
cd "$(dirname "$0")" cd "$(dirname "$0")"; cd ..
git pull origin master git pull origin master
bundle install --deployment bundle install --deployment
@ -27,6 +27,5 @@ echo "END_OF_RUBOCOP_RESULTS"
# run tests # run tests
echo "TEST_RESULTS" echo "TEST_RESULTS"
RAILS_ENV=test bundle exec rake test:other RAILS_ENV=test bundle exec rake test
echo "END_OF_TEST_RESULTS" echo "END_OF_TEST_RESULTS"