diff --git a/.travis.yml b/.travis.yml index 50b747e..60a63b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,16 +26,16 @@ addons: # Make sure build dependencies are installed. before_install: - if test "$TRAVIS_OS_NAME" == "osx"; then ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi -# - curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg -# - sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg -# - sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list' -# - sudo apt-get update -# - sudo apt-get install -y dotnet-sdk-2.0.0 dotnet-sharedframework-microsoft.netcore.app-1.1.2 + - curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg + - sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg + - sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list' + - sudo apt-get update + - sudo apt-get install -y dotnet-sdk-2.0.0 dotnet-sharedframework-microsoft.netcore.app-1.1.2 - export DOTNET_INSTALL_DIR="$PWD/.dotnetcli" - export PATH="$DOTNET_INSTALL_DIR:$PATH" -install: - - travis_retry curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --channel 2.0 --install-dir "$DOTNET_INSTALL_DIR" +#install: +# - travis_retry curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --channel 2.0 --install-dir "$DOTNET_INSTALL_DIR" #cache: # - apt