forked from twcclegg/libphonenumber-csharp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
30 lines (30 loc) · 958 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: 8.7.1
image: Visual Studio 2017
configuration: Release
branches:
only:
- master
environment:
COVERALLS_REPO_TOKEN:
secure: tHOHVQ3dw2NqnKUW3EQbBIe+ytxPnGjJ13psSpwYhxbWlvtl6CKVmqigzfCR2nSc
pull_requests:
do_not_increment_build_number: true
before_build:
- dotnet restore csharp -s https://api.nuget.org/v3/index.json
- choco install opencover.portable
- choco install codecov
build_script:
- cmd: dotnet pack -c Release csharp\PhoneNumbers
test_script:
- OpenCover.Console.exe -register:user -target:dotnet.exe -targetargs:"test csharp\PhoneNumbers.Test\PhoneNumbers.Test.csproj" -filter:"+[PhoneNumbers]* -[PhoneNumbers.Test]*" -oldStyle
- codecov -f results.xml
artifacts:
- path: csharp\PhoneNumbers\bin\Release\libphonenumber-csharp.*
nuget:
account_feed: true
deploy:
- provider: NuGet
api_key:
secure: QB8FoYFBWfFy8cxyScelVPg3X4q2BvLO0VELkUAOKT4ZHp362V7cIRq+nIrkjFJ5
on:
appveyor_repo_tag: true