tweak .travis.yml
exporting inline captures the error code, but apparently removes it from the pipeline, so we should exit using that code right after
This commit is contained in:
parent
04861c74e4
commit
697ecb799a
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +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; export TEST_ERROR_CODE=$?; fi
|
||||
- if [[ "$CPP_TESTS" = true ]]; then time ./test; export TEST_ERROR_CODE=$?; exit $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:
|
||||
|
|
Loading…
Add table
Reference in a new issue