-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (34 loc) · 1012 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
39
40
41
42
43
44
45
46
47
48
49
50
51
version: '{branch}-{build}'
skip_tags: true
image: Visual Studio 2019
configuration: Release
environment:
nodejs_version: 12
GH_TOKEN:
secure: OCJrZypxmjb/p7vZIcwiGR4SaMiHZ269r2vcgPKdf5E+bv86X7aW+doKKR7HcTgh
skip_commits:
files:
- '.gitignore'
- '*.md'
- 'docs/*'
before_build:
- nuget restore
- nuget install OpenCover -OutputDirectory packages -Version 4.6.519
- choco install codecov
build:
project: Maria.sln
verbosity: minimal
test_script:
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"dotnet.exe" -targetargs:"test Maria.Tests\bin\Release\netcoreapp3.1\Maria.Tests.dll" -output:"coverage.xml" -filter:"+[Maria*]* -[Maria.Tests*]* "
- codecov -f "coverage.xml"
before_package:
- ps: .\BuildUnityPackages.ps1
artifacts:
- path: '*.unitypackage'
cache: '%APPDATA%\npm'
install:
- ps: >-
Install-Product node $env:nodejs_version
npm install -g semantic-release
deploy_script:
- semantic-release