Skip to content

Commit a411a03

Browse files
committed
Install the official OSX Mono package in Travis.
1 parent 116de4a commit a411a03

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ install:
1818
- 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
1919
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi
2020
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -y mono-devel nuget p7zip-full; fi
21-
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install mono wget p7zip; fi
21+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install wget p7zip; fi
22+
- 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
23+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then sudo installer -pkg "mono.pkg" -target /; fi
2224
- wget https://nuget.org/nuget.exe
2325
- mono nuget.exe install NUnit -Version 2.6.4 -OutputDirectory deps
2426
- mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory deps

0 commit comments

Comments
 (0)