forked from lduchosal/ipnetwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
21 lines (21 loc) · 1.02 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '2.1.2.{build}'
image: Visual Studio 2017
build:
project: src/
branches:
only:
- master
init:
- cmd: git config --global core.autocrlf true
before_build:
- cmd: dotnet --version
- cmd: dotnet restore ./src --verbosity m
- cmd: nuget restore .\src
build_script:
- cmd: dotnet pack ./src/System.Net.IPNetwork
test_script:
- cmd: dotnet test ./src/System.Net.IPNetwork.TestProject.NetCore/System.Net.IPNetwork.TestProject.NetCore.csproj
- vstest.console /logger:Appveyor c:\Projects\ipnetwork\src\System.Net.IPNetwork.TestProject.NetCore\bin\Debug\netcoreapp2.0\System.Net.IPNetwork.TestProject.NetCore.dll
- c:\Projects\ipnetwork\src\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"C:/Program Files/dotnet/dotnet.exe" -targetargs:"test c:\projects\ipnetwork\src\System.Net.IPNetwork.TestProject.NetCore\System.Net.IPNetwork.TestProject.NetCore.csproj" -output:".\ipnetwork_coverage.xml" -oldstyle
- codecov -f "ipnetwork_coverage.xml" -t 87444874-ee5a-40a2-8b79-2c402813f83e
deploy: off