From c72ba87878ba88dd32c55a90e323fd4fd6012763 Mon Sep 17 00:00:00 2001 From: Andrew Stanton-Nurse Date: Thu, 17 Dec 2015 16:29:03 -0800 Subject: [PATCH] fix travis RID detection in KoreBuild --- build/_k-standard-goals.shade | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/build/_k-standard-goals.shade b/build/_k-standard-goals.shade index f233203b28..d45d6e9b74 100644 --- a/build/_k-standard-goals.shade +++ b/build/_k-standard-goals.shade @@ -38,6 +38,22 @@ default NUGET_FEED = 'https://api.nuget.org/v3/index.json' } Log.Info("Build v2: " + IsBuildV2); + + // Temporary until KoreBuild is updated + // It looks like it isn't possible to do this in .travis.yml because we only want + // to do it on Linux and I couldn't find an easy way to do that kind of selective + // environment variable set. + if(E('TRAVIS') == "true") + { + if(CanBuildForLinux) + { + E('DNX_RUNTIME_ID', 'ubuntu.14.04-x64'); + } + else + { + E('DNX_RUNTIME_ID', 'osx.10.10-x64'); + } + } } #restore-npm-modules