forked from amweiss/dark-sky-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (27 loc) · 830 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
27
28
29
30
31
32
33
34
35
image: Visual Studio 2017
version: '{branch}-{build}'
pull_requests:
do_not_increment_build_number: true
build_script:
- ps: >-
cd src/DarkSkyCore
dotnet restore
dotnet build --configuration release
cd ../../
dotnet pack --configuration release --include-symbols -o ../../nupkgs/ src/DarkSkyCore
test_script:
- ps: >-
cd test/DarkSkyCore.Tests
dotnet restore
dotnet test --filter "FullyQualifiedName~DarkSky.UnitTests"
if (Test-Path End:\APPVEYOR_REPO_TAG) { dotnet test --filter "FullyQualifiedName~DarkSky.IntegrationTests" }
artifacts:
- path: .\nupkgs\**\*.nupkg
name: nuget
deploy:
- provider: NuGet
server: nuget.org
api_key:
secure: YAF0FoHQVDwWAUmD/H8JUYkjiv4baMyRNdTaOgIw/NVMmo9IiYPq1wPOY525ubJG
on:
APPVEYOR_REPO_TAG: true