-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
30 lines (30 loc) · 837 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
version: 1.0.{build}
image: Visual Studio 2017
configuration: Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
before_build:
- ps: nuget restore '.\src\AspNetCoreLocalizer.sln'
build:
project: src\AspNetCoreLocalizer.sln
parallel: true
verbosity: minimal
after_build:
- cmd: PowerShell -Version 2.0 .\build.ps1
test_script:
- cmd: dotnet test "src\AspNetCoreLocalizer.Tests\AspNetCoreLocalizer.Tests.csproj" --configuration Release --no-build
artifacts:
- path: AspNetCoreLocalizer.*.nupkg
name: Push to NuGet
deploy:
- provider: NuGet
api_key:
secure: YJ757SM9zR7PnGl+CWUHjcgPhsIDh3XNA04smLWWQr0YHbU+ADCr/heVgrO+Bzua
skip_symbols: true
artifact: /.*\.nupkg/