forked from madelson/MedallionShell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
16 lines (16 loc) · 841 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
language: csharp
solution: MedallionShell.sln
mono: latest
# recommended here: https://travis-ci.community/t/c-builds-are-failing-net-core-installation-error/3063
dist: xenial
dotnet: 3.1
install:
- nuget restore MedallionShell.sln
- nuget install NUnit.Console -Version 3.10.0 -OutputDirectory testrunner
script:
# on linux, it seems like msbuild goes parallel such that if we don't build ProcessSignaler first, we won't have the net45 binary
# to pack into the non-net45 builds
- msbuild /p:Configuration=Release MedallionShell.ProcessSignaler/MedallionShell.ProcessSignaler.csproj
- msbuild /p:Configuration=Release MedallionShell.sln
- mono ./testrunner/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe ./MedallionShell.Tests/bin/Release/net46/MedallionShell.Tests.dll
- dotnet test --no-build -f netcoreapp3.1 -c Release