From b1fb21608344bde0cb90cb2f2c8a82b0484a6f63 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sun, 15 Oct 2017 11:04:25 +0200 Subject: [PATCH] AppVeyor: Misc --- appveyor.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 1f2bc25d0..a37dcad74 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -18,7 +18,9 @@ matrix: fast_finish: true install: - ps: >- + Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' + $ProgressPreference = 'SilentlyContinue' dotnet --info @@ -32,29 +34,39 @@ install: .\scripts\obtain\dotnet-install.ps1 -Channel "$env:DOTNET_CHANNEL" -InstallDir "$env:DOTNET_INSTALL_DIR" before_build: - ps: >- + Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' + $ProgressPreference = 'SilentlyContinue' dotnet --info dotnet restore build_script: - ps: >- + Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' + $ProgressPreference = 'SilentlyContinue' dotnet build -c "$env:CONFIGURATION" -o 'out\source' --no-restore /nologo test_script: - ps: >- + Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' + $ProgressPreference = 'SilentlyContinue' dotnet test ArchiSteamFarm.Tests -c "$env:CONFIGURATION" -o 'out\source' --no-build --no-restore after_test: - ps: >- + Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' + $ProgressPreference = 'SilentlyContinue' $PublishBlock = { param($RUNTIME) + Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' + $ProgressPreference = 'SilentlyContinue' Set-Location -Path "$env:APPVEYOR_BUILD_FOLDER"