-
Notifications
You must be signed in to change notification settings - Fork 38
/
appveyor.yml
40 lines (40 loc) · 1.46 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
os: Visual Studio 2017
configuration: Release
install:
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;C:\\ProgramData\\chocolatey\\bin;%PATH%"
- choco install gitversion.portable -y
- gitversion /l console /output buildserver
- choco install GitReleaseNotes.Portable
- choco install codecov
before_build:
- nuget restore
#- GitReleaseNotes . /AllTags /C breaking /O ReleaseNotes.md
build:
project: Pegasus.sln
after_test:
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"nunit-console.exe" -targetargs:".\Pegasus.Tests\bin\%CONFIGURATION%\Pegasus.Tests.dll /noshadow /exclude=Performance" -filter:"+[Pegasus]* +[Pegasus.Common]* -[Pegasus]Pegasus.Program.* -[Pegasus]Pegasus.Parser.* -[Pegasus]Pegasus.Properties.*" -hideskipped:All -output:.\Pegasus.Tests\bin\%CONFIGURATION%\coverage.xml
- codecov -f ".\Pegasus.Tests\bin\%CONFIGURATION%\coverage.xml"
cache:
- packages -> **\packages.config
artifacts:
#- path: 'ReleaseNotes.md'
- path: 'Package\bin\**\*.nupkg'
- path: 'Pegasus.Templates\bin\**\*.zip'
- path: 'Pegasus.Package\bin\**\*.vsix'
- path: 'Pegasus.Workbench\bin\%CONFIGURATION%'
name: Pegasus.Workbench
type: zip
deploy:
provider: NuGet
api_key:
secure: TVpGH+UM7lK2qC2RiNlBY2kLk5MfE228uzlXb1JSaSW05USy6rjkTW+4CksCOu8H
skip_symbols: false
artifact: /.*\.nupkg/
skip_commits:
files:
- .gitattributes
- .gitignore
- CodeMaid.config
- license.md
- pegasus.gv
- Pegasus.svg