Make sure to exit with the correct status.
This commit is contained in:
parent
392f84afff
commit
d1f2d9add2
1 changed files with 6 additions and 3 deletions
|
@ -41,8 +41,11 @@ if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
|||
fi
|
||||
elif [ "$TRAVIS_OS_NAME" = "windows" ]; then
|
||||
powershell "MSBuild.exe projectfiles/VC14/wesnoth.sln -p:PlatformToolset=v141 -p:Configuration=$OPT"
|
||||
if [ "$OPT" == "Release" ]; then
|
||||
BUILD_RET=$?
|
||||
if [ "$OPT" == "Release" ] && [ "$BUILD_RET" == "0" ]; then
|
||||
./run_wml_tests -g -v -c -t "$WML_TEST_TIME"
|
||||
else
|
||||
exit $BUILD_RET
|
||||
fi
|
||||
else
|
||||
# additional permissions required due to flatpak's use of bubblewrap
|
||||
|
|
Loading…
Add table
Reference in a new issue