Browse Source

Updated Travis to use build scripts.

pull/729/merge
Joao Matos 9 years ago
parent
commit
226836f0a6
  1. 12
      .travis.yml
  2. 2
      build/InstallNugets.sh

12
.travis.yml

@ -15,16 +15,8 @@ addons: @@ -15,16 +15,8 @@ addons:
- g++-4.8
install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF; fi
- 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 sudo apt-get update -qq; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -y mono-devel; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then wget -O mono.pkg http://download.mono-project.com/archive/4.2.1/macos-10-x86/MonoFramework-MDK-4.2.1.102.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
- cp deps/NUnit.2.6.4/lib/nunit.framework.* deps/NUnit/
- build/InstallMono.sh
- build/InstallNugets.sh
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then PREMAKE=build/premake5-linux-64; else PREMAKE=build/premake5-osx; fi
- $PREMAKE --file=build/scripts/LLVM.lua download_llvm

2
build/InstallNugets.sh

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
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
cp deps/NUnit.2.6.4/lib/nunit.framework.* deps/NUnit/
cp ../deps/NUnit.2.6.4/lib/nunit.framework.* deps/NUnit/

Loading…
Cancel
Save