Browse Source

Download official binary for Nuget and call it from Mono on Travis.

pull/536/merge
triton 10 years ago
parent
commit
ddaa1e4422
  1. 7
      .travis.yml

7
.travis.yml

@ -17,9 +17,10 @@ install: @@ -17,9 +17,10 @@ install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list; fi
- 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
- nuget install NUnit -Version 2.6.4 -OutputDirectory deps
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory deps
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -y mono-devel p7zip-full; fi
- wget https://nuget.org/nuget.exe
- mono nuget install NUnit -Version 2.6.4 -OutputDirectory deps
- mono nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory deps
- cp deps/NUnit.2.6.4/lib/nunit.framework.* deps/NUnit/
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- wget -O llvm_linux_x86_64.7z https://www.dropbox.com/s/zxigif3vghsdfli/llvm_linux_x86_64.7z?dl=0

Loading…
Cancel
Save