-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathappveyor.yml
45 lines (32 loc) · 796 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
36
37
38
39
40
41
42
43
44
45
version: 0.0.0-pre{build}
image: Visual Studio 2017
configuration: Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
install:
- ps : choco install dotnetcore-sdk --version=3.1.201
- ps : dotnet --version
- ps : dotnet restore
build_script:
- ps : dotnet build -c $env:configuration
after_build:
- ps : dotnet pack -c $env:configuration --no-build --include-symbols
test_script:
- ps : dotnet test tests\Kevsoft.Ssml.Tests\Kevsoft.Ssml.Tests.csproj -c $env:configuration --no-build --no-restore
artifacts:
- path: '**\*.nupkg'
- path: '**\*.snupkg'
deploy:
- provider: Environment
name: NuGet.org
on:
branch: master
for:
-
branches:
only:
- master
version: 2.0.{build}