-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathappveyor.yml
More file actions
34 lines (28 loc) · 795 Bytes
/
appveyor.yml
File metadata and controls
34 lines (28 loc) · 795 Bytes
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
configuration: Release
version: 1.0.{build}
nuget:
account_feed: true
project_feed: true
artifacts:
- path: 'src\**\*.nupkg'
init:
- git config --global core.autocrlf true
before_build:
- ps: invoke-webrequest https://go.microsoft.com/fwlink/?LinkID=827524 -OutFile core.exe
- ps: .\core.exe /install /quiet /norestart
build_script:
- ps: dotnet restore
- ps: dotnet build -c Release .\src\StatsN
- ps: dotnet build -c Release .\src\StatsN.UnitTests
test_script:
- ps: dotnet test -c Release .\src\StatsN.UnitTests
- ps: .\Coverage.ps1
- ps: .\update-projectjson.ps1
- ps: dotnet restore
- ps: dotnet pack -c Release .\src\StatsN
deploy:
- provider: NuGet
api_key:
secure: QuVcKEvDkLsmdemVpoGBXiTymN46CzvczrDpTHNf1+tTIjOGufptGDmBD9r5LVtn
on:
appveyor_repo_tag: true