diff --git a/.travis.yml b/.travis.yml index 24b704b4c..d2a30ab79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ branches: mono: none # ASF requires .NET Core 2.0+ -dotnet: 2.0.0 +dotnet: 2.0.2 env: global: diff --git a/appveyor.yml b/appveyor.yml index 03af44a39..c4d4b1983 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,30 +10,11 @@ configuration: Release platform: Any CPU clone_depth: 10 environment: - DOTNET_CHANNEL: 2.0 DOTNET_CLI_TELEMETRY_OPTOUT: true DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true RUNTIMES: generic win-x64 linux-x64 linux-arm osx-x64 matrix: fast_finish: true -install: -- ps: >- - Set-StrictMode -Version Latest - - $ErrorActionPreference = 'Stop' - - $ProgressPreference = 'SilentlyContinue' - - dotnet --info - - $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli" - - - New-Item '.\scripts\obtain' -ItemType 'directory' -Force - - Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/dotnet-install.ps1' -OutFile '.\scripts\obtain\dotnet-install.ps1' - - .\scripts\obtain\dotnet-install.ps1 -Channel "$env:DOTNET_CHANNEL" -InstallDir "$env:DOTNET_INSTALL_DIR" before_build: - ps: >- Set-StrictMode -Version Latest @@ -42,6 +23,7 @@ before_build: $ProgressPreference = 'SilentlyContinue' + dotnet --info nuget sources update -Name nuget.org -Source https://api.nuget.org/v3/index.json @@ -55,6 +37,7 @@ build_script: $ProgressPreference = 'SilentlyContinue' + dotnet build -c "$env:CONFIGURATION" -o 'out\source' --no-restore /nologo test_script: - ps: >- @@ -64,6 +47,7 @@ test_script: $ProgressPreference = 'SilentlyContinue' + dotnet test ArchiSteamFarm.Tests -c "$env:CONFIGURATION" -o 'out\source' --no-build --no-restore after_test: - ps: >- @@ -73,6 +57,7 @@ after_test: $ProgressPreference = 'SilentlyContinue' + $PublishBlock = { param($RUNTIME)