fixup attempt on .travis.yml

try to store error codes by putting $? inline using ;
This commit is contained in:
Chris Beck 2014-07-05 12:44:58 -04:00
parent 63effc3e04
commit 04861c74e4

View file

@ -36,8 +36,7 @@ script:
- scons cxxtool=$CXX --debug=time build=release extra_flags_release="$EXTRA_FLAGS_RELEASE" strict=$STRICT_COMPILATION $TARGETS
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- if [[ "$CPP_TESTS" = true ]]; then time ./test; fi
- export TEST_ERROR_CODE=$?
- if [[ "$CPP_TESTS" = true ]]; then time ./test; export TEST_ERROR_CODE=$?; fi
- echo $TEST_ERROR_CODE
- if [[ "$WML_TESTS" = true ]]; then time ./run_wml_tests -v -t "$WML_TEST_TIME"; fi
after_failure: