-
Notifications
You must be signed in to change notification settings - Fork 73
/
appveyor.yml
30 lines (23 loc) · 948 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
os: Visual Studio 2015
configuration:
- Release
install:
- ps: Start-FileDownload 'https://download.microsoft.com/download/A/3/8/A38489F3-9777-41DD-83F8-2CBDFAB2520C/packages/DotNetCore.1.0.0-SDK.Preview2-x64.exe'
- cmd: DotNetCore.1.0.0-SDK.Preview2-x64.exe /quiet
environment:
PATH: $(PATH);$(PROGRAMFILES)\dotnet\
build_script:
- appveyor-retry dotnet restore -v Minimal
- dotnet build **/project.json -c %CONFIGURATION%
- cmd: IF "%APPVEYOR_REPO_TAG%" == "true" (dotnet pack src/RdKafka/project.json -c %CONFIGURATION%)
- cmd: IF NOT "%APPVEYOR_REPO_TAG%" == "true" (dotnet pack src/RdKafka/project.json -c %CONFIGURATION% --version-suffix ci-%APPVEYOR_BUILD_NUMBER%)
- dotnet test test/RdKafka.Tests
test: off
artifacts:
- path: ./src/RdKafka/bin/Release/*.nupkg
deploy:
provider: NuGet
api_key:
secure: qbl3uvq1riFSNeRw6/MHnaDbJ0Ft9evEcz3nQp061pKEhXn0ex4eI56dwUOO2fWF
skip_symbols: true
artifact: /.*\.nupkg/