-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
38 lines (33 loc) · 983 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
version: 1.0.{build}
branches:
only:
- develop
- master
image: Visual Studio 2017
configuration: Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
before_build:
- ps: >-
dotnet restore
choco install xunit
choco install opencover.portable
choco install codecov
build:
project: BitcoinShow.MVC.sln
verbosity: minimal
test_script:
- ps: >-
dotnet test .\BitcoinShow.Test\
OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:".\BitcoinShow.Test\bin\Release\netcoreapp2.0\BitcoinShow.Test.dll -noshadow" -filter:"+[BitcoinShow.Web*]* -[BitcoinShow.Test*]*" -output:".\BitcoinShow_coverage.xml"
codecov -f "BitcoinShow_coverage.xml"
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/d7532ba0c660aa60ae39
method: POST
on_build_success: true
on_build_failure: true
on_build_status_changed: true