-
Notifications
You must be signed in to change notification settings - Fork 10
/
appveyor.yml
32 lines (27 loc) · 848 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
image: Visual Studio 2017
version: build{build}
branches:
only:
- master
build_script:
- cmd: "ECHO TAG: %APPVEYOR_REPO_TAG_NAME%"
- cmd: "ECHO PR: %APPVEYOR_PULL_REQUEST_NUMBER%"
- cmd: "ECHO BUILD: %APPVEYOR_BUILD_NUMBER%"
- ps: >-
. ./build.ps1
Invoke-Build -ProjectPath "$env:APPVEYOR_BUILD_FOLDER/src/Iamport.RestApi" -Tag "$env:APPVEYOR_REPO_TAG_NAME" -PRNumber "$env:APPVEYOR_PULL_REQUEST_NUMBER" -BuildNumber "$env:APPVEYOR_BUILD_NUMBER"
test_script:
- cmd: cd test/Iamport.RestApi.Tests
- cmd: dotnet test
- cmd: cd ../..
artifacts:
- path: '**\*.nupkg'
name: NuGet
deploy:
- provider: NuGet
api_key:
secure: CjugFh+p5s+YCdTU2ToTRNwpzymnwHdzlLzfHl79QTxvYAx68140OJICgv7wGHcF
on:
appveyor_repo_tag: true
skip_commits:
message: /((Update|Create) .*\.(md|png|jpg|jpeg|bmp|gif))|(Create|Update) appveyor.yml/