forked from Recognos/Metrics.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (19 loc) · 816 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: objective-c
branches:
except:
- net40
env:
global:
- EnableNuGetPackageRestore=true
matrix:
- MONO_VERSION="4.2.0.114"
before_install:
- wget "http://download.mono-project.com/archive/4.2.0/macos-10-x86/MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg"
- sudo installer -pkg "MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg" -target /
script:
- mono .nuget/NuGet.exe restore Metrics.sln
- xbuild Metrics.Sln /p:Configuration="Debug"
- xbuild Metrics.Sln /p:Configuration="Release"
- cp ./bin/Release/Tests/xunit.*.dll ./
# - mono ./packages/xunit.runner.console.2.0.0/tools/xunit.console.exe ./bin/Debug/Tests/Metrics.Tests.dll -maxthreads 1
# - mono ./packages/xunit.runner.console.2.0.0/tools/xunit.console.exe ./bin/Release/Tests/Metrics.Tests.dll -maxthreads 1