travis.yml: put time outside of multiline if
This commit is contained in:
parent
38a252ad2c
commit
8bf15afe5e
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ script:
|
|||
- "sh -e /etc/init.d/xvfb start"
|
||||
- time if [ "$CPP_TESTS" = true ]; then ./test; export TEST_ERROR_CODE=$?; ./utils/travis/exit_wrapper.sh $TEST_ERROR_CODE; fi
|
||||
- if [ "$WML_TESTS" = true ]; then time ./run_wml_tests -g -v -t "$WML_TEST_TIME"; fi
|
||||
- if [ "$PLAY_TEST" = true ]; then time ./wesnoth -m --controller 1:ai --controller 2:ai --nogui; export PLAY_TEST_ERROR_CODE=$?; ./utils/travis/exit_wrapper.sh $PLAY_TEST_ERROR_CODE; fi
|
||||
- if [ "$PLAY_TEST" = true ]; then time ./wesnoth -m --controller 1:ai --controller 2:ai; export PLAY_TEST_GUI_ERROR_CODE=$?; ./utils/travis/exit_wrapper.sh $PLAY_TEST_GUI_ERROR_CODE; fi
|
||||
- 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
|
||||
- time if [ "$PLAY_TEST" = true ]; then ./wesnoth -m --controller 1:ai --controller 2:ai; export PLAY_TEST_GUI_ERROR_CODE=$?; ./utils/travis/exit_wrapper.sh $PLAY_TEST_GUI_ERROR_CODE; fi
|
||||
after_failure:
|
||||
- if [ "$TEST_ERROR_CODE" -ge 128 -a "$WML_TESTS" = false ]; then time sudo apt-get install -qq gdb; fi
|
||||
# Need to install that if we don't already have it
|
||||
|
|
Loading…
Add table
Reference in a new issue