forked from googleapis/google-api-dotnet-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (26 loc) · 1.05 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
30
31
# 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:
# Make sure curl is available
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
# 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
- run_tests.bat
- run_tests_dotnetcore.bat
# The tests are run as part of the build.
test: off