Skip to content

Commit 226836f

Browse files
committed
Updated Travis to use build scripts.
1 parent c210e2f commit 226836f

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.travis.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,8 @@ addons:
1515
- g++-4.8
1616

1717
install:
18-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF; fi
19-
- 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
20-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi
21-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -y mono-devel; fi
22-
- 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
23-
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then sudo installer -pkg "mono.pkg" -target /; fi
24-
- wget https://nuget.org/nuget.exe
25-
- mono nuget.exe install NUnit -Version 2.6.4 -OutputDirectory deps
26-
- mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory deps
27-
- cp deps/NUnit.2.6.4/lib/nunit.framework.* deps/NUnit/
18+
- build/InstallMono.sh
19+
- build/InstallNugets.sh
2820
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
2921
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then PREMAKE=build/premake5-linux-64; else PREMAKE=build/premake5-osx; fi
3022
- $PREMAKE --file=build/scripts/LLVM.lua download_llvm

build/InstallNugets.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
wget https://nuget.org/nuget.exe
22
mono nuget.exe install NUnit -Version 2.6.4 -OutputDirectory ../deps
33
mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory ../deps
4-
cp deps/NUnit.2.6.4/lib/nunit.framework.* deps/NUnit/
4+
cp ../deps/NUnit.2.6.4/lib/nunit.framework.* deps/NUnit/

0 commit comments

Comments
 (0)