-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathappveyor.yml
73 lines (52 loc) · 1.07 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: 1.0.0.{build}
image:
- Ubuntu1804
- Visual Studio 2019
configuration: Release
clone_depth: 50
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
#skip_branch_with_pr: true
skip_commits:
files:
- docs/*
- Image/*
- media/*
- LICENSE
- mkdocs.yml
- README.md
- .travis.yml
- .gitignore
- azure-pipelines.yml
- lang/*
for:
-
matrix:
only:
- image: Visual Studio 2019
install:
#- ps: cd c:\projects\xxx
before_build:
- ps: dotnet restore
- ps: choco install opencover.portable
- ps: choco install codecov
build_script:
- ps: dotnet build -c Release
test_script:
- ps: OpenCover.Console.exe -register:user -target:"dotnet.exe" -targetargs:test -output:".\coverage.xml" -oldstyle
- ps: codecov -f "coverage.xml" -t %COVERAGE_NCALLER_KEY%
-
matrix:
only:
- image: Ubuntu1804
services:
install:
before_build:
- sh: dotnet restore
build_script:
- sh: dotnet build -c Release
test_script:
- ps: dotnet test