[travis] Use travis C# support
authorFraser Waters <frassle@gmail.com>
Sun, 12 Apr 2015 10:13:11 +0000 (11:13 +0100)
committerFraser Waters <frassle@gmail.com>
Sun, 12 Apr 2015 10:32:59 +0000 (11:32 +0100)
Travis now has proper support for C#,
http://docs.travis-ci.com/user/languages/csharp/

.travis.yml

index 87f0736..adb6fb0 100644 (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
\ No newline at end of file