forked from googleapis/google-api-dotnet-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
29 lines (24 loc) · 1.25 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Configuration for the build and test for the GoogleApis project.
# Version for the build.
version: 1.0.{build}-{branch}
# We're using Visual Studio 2015
image: Visual Studio 2015
# Install the pre-requisites for the build.
install:
# Download and install the nunit runner.
- nuget install NUnit.ConsoleRunner -Version 3.2.1 -OutputDirectory testrunner
# Download the installer for dotnet.
- mkdir .\scripts
- curl -SL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.ps1 -o .\scripts\dotnet-install.ps1
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli"
- ps: '& .\scripts\dotnet-install.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -Version 1.0.0-preview2-003121 -NoPath'
# add dotnet to PATH
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
# Perform the build.
build_script:
- dotnet --info
- msbuild SupportLibraries.proj
- .\testrunner\NUnit.ConsoleRunner.3.2.1\tools\nunit3-console.exe Src\Support\GoogleApis.Tests\bin\ReleaseSigned\Google.Apis.Tests.exe Src\Support\GoogleApis.Auth.Tests\bin\ReleaseSigned\Google.Apis.Auth.Tests.exe Src\Support\GoogleApis.Auth.DotNet4.Tests\bin\ReleaseSigned\Google.Apis.Auth.DotNet4.Tests.exe
- run_tests_dotnetcore.bat
# The tests are run as part of the build.
test: off