Commit 2d6eed1b authored by Savorboard's avatar Savorboard Committed by GitHub

Update .travis.yml

parent 6353242f
...@@ -25,12 +25,12 @@ addons: ...@@ -25,12 +25,12 @@ addons:
# Make sure build dependencies are installed. # Make sure build dependencies are installed.
before_install: 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 - 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 - export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
- sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg - export PATH="$DOTNET_INSTALL_DIR:$PATH"
- 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
install:
- travis_retry curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 2.0 --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR"
# Run the build script # Run the build script
script: script:
- dotnet --info - dotnet --info
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment