-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
24 lines (22 loc) · 887 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: csharp
solution: MonoAGS.sln
matrix:
include:
- os: linux
mono: latest
env: BUILD_CONFIG=DesktopRelease BUILD_PLATFORM="Any CPU" DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true MSBuildExtensionsPath32=/usr/lib/mono/xbuild
dotnet: 2.2.402
dist: xenial
- os: osx
mono: latest
env: BUILD_CONFIG=DesktopRelease BUILD_PLATFORM="Any CPU" DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
dotnet: 2.2.402
install:
- git fetch --unshallow
- curl -L -o nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- dotnet restore
- mono nuget.exe restore MonoAGS.sln
- msbuild /p:Configuration=$BUILD_CONFIG /p:Platform="$BUILD_PLATFORM" MonoAGS.sln
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./Source/Tests/bin/Release/Tests.dll