Browse Source

Added support for OSX LLVM binary dependencies to Travis.

pull/536/merge
triton 10 years ago
parent
commit
45f8b3a8fc
  1. 9
      .travis.yml

9
.travis.yml

@ -17,14 +17,17 @@ install: @@ -17,14 +17,17 @@ 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 p7zip-full; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -y mono-devel nuget 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
- 7z x llvm_linux_x86_64.7z -odeps/llvm -y
- LLVM_LINUX = https://www.dropbox.com/s/zxigif3vghsdfli/llvm_linux_x86_64.7z?dl=0
- LLVM_OSX = https://www.dropbox.com/s/57z1oawom2y38gt/llvm_osx_x86.7z?dl=0
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then LLVM_URL = $LLVM_LINUX; else LLVM_URL = $LLVM_OSX; fi
- wget -O llvm.7z $LLVM_URL
- 7z x llvm.7z -odeps/llvm -y
script:
- build/premake5-linux-64 --file=build/premake4.lua gmake

Loading…
Cancel
Save