[travis] Use travis C# support

Travis now has proper support for C#,
http://docs.travis-ci.com/user/languages/csharp/
This commit is contained in:
Fraser Waters 2015-04-12 11:13:11 +01:00
parent c7ccc1908f
commit ec11ad3a1b

View file

@ -1,17 +1,12 @@
language: objective-c
language: csharp
solution: OpenTK.sln
env:
global:
- EnableNuGetPackageRestore=true
matrix:
- MONO_VER="2.10.11"
- MONO_VER="3.6.0"
before_install:
- wget "http://download.mono-project.com/archive/${MONO_VER}/macos-10-x86/MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.pkg" "http://download.mono-project.com/archive/${MONO_VER}/macos-10-x86/MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.dmg" || true
- hdid "MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.dmg" || true
- sudo installer -pkg "/Volumes/Mono Framework MDK ${MONO_VER}/MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.pkg" -target / || true
- sudo installer -pkg "MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.pkg" -target / || true
mono:
- latest
- 3.10.0
- 3.8.0
- 3.2.8
- 2.10.8
script:
- xbuild && xbuild /p:Configuration=Release
- xbuild /p:Configuration=Release OpenTK.sln