From d8cd24777a04dd0af9715e5a3b81aa2dde0d3131 Mon Sep 17 00:00:00 2001 From: Nicholas Blumhardt Date: Fri, 12 Aug 2016 19:03:42 +1000 Subject: [PATCH 1/2] Having a shot at @joshka's suggested workaround for macOS build failures --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 16ba7d9dc..8f2a25c41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,6 +41,7 @@ before_install: - sudo bash ./scripts/obtain/install.sh --channel "preview" --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR" --no-path # add dotnet to PATH - export PATH="$DOTNET_INSTALL_DIR:$PATH" + - if test "$TRAVIS_OS_NAME" == "osx"; then sudo install_name_tool -add_rpath /usr/local/opt/openssl/lib /usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.0.0/System.Security.Cryptography.Native.dylib; fi script: - ./build.sh \ No newline at end of file From 9c99a9302d427a99de4ee12905595979efd64a44 Mon Sep 17 00:00:00 2001 From: Nicholas Blumhardt Date: Fri, 12 Aug 2016 19:25:05 +1000 Subject: [PATCH 2/2] Disable the osx target in .travis.yml --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8f2a25c41..abdf1132a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,6 @@ addons: - zlib1g os: - - osx - linux env: @@ -41,7 +40,6 @@ before_install: - sudo bash ./scripts/obtain/install.sh --channel "preview" --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR" --no-path # add dotnet to PATH - export PATH="$DOTNET_INSTALL_DIR:$PATH" - - if test "$TRAVIS_OS_NAME" == "osx"; then sudo install_name_tool -add_rpath /usr/local/opt/openssl/lib /usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.0.0/System.Security.Cryptography.Native.dylib; fi script: - ./build.sh \ No newline at end of file