Browse Source

Attempt to fix test success evaluation on Travis.

pull/573/head
João Matos 10 years ago
parent
commit
a6feac65ed
  1. 4
      .travis.yml

4
.travis.yml

@ -37,4 +37,6 @@ script: @@ -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

Loading…
Cancel
Save