From 5bbffd4980fb298c7a5ff7ec07e2332e530835b8 Mon Sep 17 00:00:00 2001 From: naveen Date: Sat, 12 Dec 2015 16:14:57 -0500 Subject: [PATCH] cleaning up travis and including linux --- .travis.yml | 4 ++-- build.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63c55991..cc3ced7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ language: csharp sudo: false # use the new container-based Travis infrastructure os: - osx + - linux install: - curl -sS http://storage.bos.xamarin.com/bot-provisioning/PortableReferenceAssemblies-2014-04-14.zip > /tmp/pcl-assemblies.zip - unzip /tmp/pcl-assemblies.zip -d /tmp/pcl-assemblies && mv /tmp/pcl-assemblies/PortableReferenceAssemblies-2014-04-14 /tmp/pcl-assemblies/.NETPortable @@ -11,5 +12,4 @@ install: script: - mono tools/nuget/NuGet.exe restore Octokit-Mono.sln - ./build.sh BuildMono - - ./build.sh ConventionTests - - ./build.sh UnitTests + - ./build.sh diff --git a/build.sh b/build.sh index c4e4bf01..907b1b01 100755 --- a/build.sh +++ b/build.sh @@ -12,5 +12,7 @@ else mono "./tools/nuget/NuGet.exe" "install" "xunit.runner.console" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "2.0.0" mono "./tools/nuget/NuGet.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "4.4.2" mono "./tools/nuget/NuGet.exe" "install" "SourceLink.Fake" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "1.1.0" +mono "./tools/nuget/NuGet.exe" "install" "System.Net.Http" "-OutputDirectory" "tools" +mono "./tools/nuget/NuGet.exe" "install" "Microsoft.Net.Http" "-OutputDirectory" "tools" mono ./tools/FAKE.Core/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx fi