Skip to content

Commit

Permalink
fix syntax error in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Jul 6, 2014
1 parent fcd9acd commit 59fce33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -49,7 +49,7 @@ script:
- time if [ "$PLAY_TEST" = true ]; then ./wesnoth -m --controller 1:ai --controller 2:ai --nogui; export PLAY_TEST_ERROR_CODE=$?; ./utils/travis/exit_wrapper.sh $PLAY_TEST_ERROR_CODE; fi

after_failure:
- if [[ "$TEST_ERROR_CODE" -ge 128 -o "$PLAY_TEST_ERROR_CODE" -ge 128 ]] && [[ "$WML_TESTS" = false ]]; then time sudo apt-get install -qq gdb; fi
- if [[ "$TEST_ERROR_CODE" -ge 128 || "$PLAY_TEST_ERROR_CODE" -ge 128 ]] && [[ "$WML_TESTS" = false ]]; then time sudo apt-get install -qq gdb; fi
# Need to install that if we don't already have it
- if [ -f "errors.log" ]; then echo -e "\n*** \n*\n* Errors reported in wml unit tests, here is errors.log...\n*\n*** \n"; cat errors.log; fi
- if [ "$TEST_ERROR_CODE" -ge 128 ]; then echo -e "\n***\n*\n* Encountered a segfault in the c++ unit test executable, attempting to get a backtrace in the remaining time...\n*\n***\n"; fi
Expand Down

0 comments on commit 59fce33

Please sign in to comment.