Browse Source

Install the official OSX Mono package in Travis.

pull/536/merge
triton 10 years ago
parent
commit
a411a03a2f
  1. 4
      .travis.yml

4
.travis.yml

@ -18,7 +18,9 @@ install: @@ -18,7 +18,9 @@ install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -y mono-devel nuget p7zip-full; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install mono wget p7zip; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install wget p7zip; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then wget -O mono.pkg http://download.mono-project.com/archive/4.0.3/macos-10-x86/MonoFramework-MDK-4.0.3.20.macos10.xamarin.x86.pkg; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then sudo installer -pkg "mono.pkg" -target /; fi
- wget https://nuget.org/nuget.exe
- mono nuget.exe install NUnit -Version 2.6.4 -OutputDirectory deps
- mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory deps

Loading…
Cancel
Save