[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: mono:
global: - latest
- EnableNuGetPackageRestore=true - 3.10.0
matrix: - 3.8.0
- MONO_VER="2.10.11" - 3.2.8
- MONO_VER="3.6.0" - 2.10.8
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
script: script:
- xbuild && xbuild /p:Configuration=Release - xbuild /p:Configuration=Release OpenTK.sln