forked from sebastienros/esprima-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (31 loc) · 956 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
image: Visual Studio 2019
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 pack -c Release
test_script:
- dotnet test .\test\Esprima.Tests\Esprima.Tests.csproj -c Release /p:Checked=true
artifacts:
- path: 'src\**\*.*nupkg'
deploy:
- provider: NuGet
on:
branch: dev
server: https://www.myget.org/F/esprimadotnet/api/v2/package
api_key:
secure: 7PQvuxXn5P39X5QDlDKWbNpOKJKivpqkq7umakIirAZ12CSTAiCwjtJhSBGVboPm
skip_symbols: true
artifact: /.*\.nupkg/
- provider: NuGet
on:
branch: master
server: https://www.nuget.org/api/v2/package
api_key:
secure: qZ6R8U4mtBXFVRhhNLJyRz3bktF/jL5BvzrCQsXcn6ATRQ4YavFP3By8Sg4hYMH5
artifact: /.*\.*nupkg/