diff --git a/.travis.yml b/.travis.yml index 4acce000..414d980d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,4 +37,6 @@ script: - if [ "$TRAVIS_OS_NAME" = "linux" ]; then BUILD_CONF=release_x64; else BUILD_CONF=release_x32; fi - $PREMAKE --file=build/premake4.lua gmake - config=$BUILD_CONF make -C build/gmake/ - - for test in build/gmake/lib/Release_*/*.Tests.*.dll; do MONO_PATH=deps/NUnit.Runners.2.6.4/tools mono deps/NUnit.Runners.2.6.4/tools/nunit-console.exe -nologo $test; done + - TEST_RESULT=0 + - for test in build/gmake/lib/Release_*/*.Tests.*.dll; do MONO_PATH=deps/NUnit.Runners.2.6.4/tools mono deps/NUnit.Runners.2.6.4/tools/nunit-console.exe -nologo $test || TEST_RESULT=$?; done + - [ ! $TEST_RESULT -eq 0 ] && exit $TEST_RESULT