forked from suryapratap/GeographicLib
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathappveyor.yml
26 lines (26 loc) · 817 Bytes
/
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
image: Visual Studio 2017
init:
- git config --global core.autocrlf true
install:
- ps: $env:BuildNumber= $env:APPVEYOR_BUILD_NUMBER
- ps: $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = true
- ps: $env:NUGET_XMLDOC_MODE = "skip"
- ps: $env:DOTNET_CLI_TELEMETRY_OPTOUT = 1
build_script:
- dotnet --version
- dotnet restore
- dotnet build -c Release
- dotnet pack -c Release .\GeographicLib\Sandwych.GeographicLib.csproj
test_script:
- dotnet test .\GeographicLib.Tests\Sandwych.GeographicLib.Tests.csproj
artifacts:
- path: '.\GeographicLib\**\*.nupkg'
deploy:
- provider: NuGet
on:
branch: master
server: https://www.nuget.org/api/v2/package
api_key:
secure: NSw3haoScjXUkygtFw+GIiNd3i9C4+3xvGCaQM36iivZt6jnd+TmHQ8J0DcXe2Gh
skip_symbols: true
artifact: /.*\.nupkg/