Skip to content

Commit

Permalink
Attempt to fix travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eran-gil committed Apr 9, 2020
1 parent 77ae865 commit 07c0b49
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/.ci/RunTests.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
#!/bin/sh

mono src/.nuget/NuGet.exe install NUnit.Runners -Version 2.6.3 -OutputDirectory src/packages

runTest(){
mono src/packages/NUnit.Runners.2.6.3/tools/nunit-console.exe -noxml -nodots -labels $@
mono src/packages/NUnit.ConsoleRunner.3.7.0/tools/nunit3-console.exe $@
if [ $? -ne 0 ]
then
exit 1
fi
}

runTest src/log4stash.IntegrationTests/bin/Debug/log4stash.IntegrationTests.dll -exclude=Performance
runTest src/log4stash.UnitTests/bin/Debug/log4stash.UnitTests.dll -exclude=Performance
runTest src/log4stash.IntegrationTests/bin/Debug/log4stash.IntegrationTests.dll
runTest src/log4stash.UnitTests/bin/Debug/log4stash.UnitTests.dll

exit $?

0 comments on commit 07c0b49

Please sign in to comment.