From 405e21d7db5b99b63b2ccff89102b871a61d64e1 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Sat, 18 Feb 2017 23:52:57 +0000 Subject: [PATCH] Move the Mono path fix to the install script. --- .travis.yml | 1 - build/InstallMono.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b22bc368..f8c200ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,6 @@ addons: - g++-4.8 install: - - export PATH=$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin - build/InstallMono.sh - build/InstallNugets.sh - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi diff --git a/build/InstallMono.sh b/build/InstallMono.sh index 9dc80b37..50d7fd10 100755 --- a/build/InstallMono.sh +++ b/build/InstallMono.sh @@ -2,6 +2,7 @@ OS=$(uname -s) if [ "$OS" == "Darwin" ]; then wget -O mono.pkg https://download.mono-project.com/archive/4.6.2/macos-10-universal/MonoFramework-MDK-4.6.2.16.macos10.xamarin.universal.pkg sudo installer -pkg mono.pkg -target / + export PATH=$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin elif [ "$OS" == "Linux" ]; then sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list