diff --git a/.travis.yml b/.travis.yml index 442fb7a1f..753008be2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,15 @@ mono: none # TODO: We should target stable 2.0.0 once it's released dotnet: 2.0.0-preview1-005977 +env: + global: + - DOTNET_CLI_TELEMETRY_OPTOUT: 1 + - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + +script: + - dotnet restore + - dotnet build -c Release + # This is our main build matrix matrix: # We can use fast finish, as we don't need to wait for all builds to mark it as failed/passed diff --git a/appveyor.yml b/appveyor.yml index e35424313..1002ccb5a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,9 +6,14 @@ branches: - master skip_branch_with_pr: true image: Visual Studio 2017 +environment: + DOTNET_CLI_TELEMETRY_OPTOUT: true + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true configuration: Release platform: Any CPU clone_depth: 10 +before_build: +- dotnet restore build: project: ArchiSteamFarm.sln parallel: true