diff --git a/.travis.yml b/.travis.yml index 0cfbc6d..27402d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,12 @@ jobs: - stage: deploy if: tag =~ ^v\d+\.\d+\.\d+ + before_install: + - wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb + - sudo dpkg -i packages-microsoft-prod.deb + - sudo apt-get update + - sudo apt-get install -y dotnet-sdk-3.1 + - sudo apt-get install -y dotnet-sdk-2.1 mono: none script: - VERSION=$(echo $TRAVIS_TAG | grep -i -P -o '(?<=^v)\d+\.\d+\.\d+(?:.+)?$'); VERSION_NUMBER=$(echo $VERSION | grep -i -P -o '^\d+\.\d+\.\d+')