Mirror/appveyor.yml

48 lines
1.6 KiB
YAML
Raw Normal View History

2018-07-15 16:43:43 +00:00
version: '{branch}-{build}'
2018-07-15 17:29:21 +00:00
before_build:
2018-08-25 14:41:42 +00:00
- nuget restore Mirror/Networking.sln
2018-07-15 17:29:21 +00:00
2018-08-25 16:45:29 +00:00
#build:
# project: Mirror/Networking.sln
# verbosity: minimal
2018-07-15 16:43:43 +00:00
# Do not build on tags (GitHub only)
skip_tags: true
2018-08-25 16:45:29 +00:00
build_script:
- msbuild Mirror/Networking.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:Configuration="Debug-Editor" /ConsoleLoggerParameters:Verbosity=quiet
- msbuild Mirror/Networking.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:Configuration="Debug" /ConsoleLoggerParameters:Verbosity=quiet
2018-07-15 16:43:43 +00:00
artifacts:
2018-08-25 14:41:42 +00:00
- path: Mirror/Output
name: Mirror
2018-07-15 16:43:43 +00:00
image: Visual Studio 2017
2018-07-15 19:05:31 +00:00
test_script:
2018-08-25 14:41:42 +00:00
- Mirror\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"nunit3-console.exe" -targetargs:"Mirror\Tests\bin\Debug\Mirror.Tests.dll" -output:"coverage.xml" -filter:"+[Mirror*]* -[Mirror.Tests*]* "
2018-07-15 19:05:31 +00:00
after_test:
- ps: |
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
bash codecov.sh -f "coverage.xml"
2018-07-21 16:56:44 +00:00
skip_commits:
files:
- '**/*.md'
- '**/*.txt'
- '.gitignore'
2018-07-21 16:56:44 +00:00
deploy:
2018-10-18 00:36:09 +00:00
description: 'This is a bleeding edge release. BACKUP BEFORE USING THIS AUTOMATED BUILD\n$(APPVEYOR_REPO_COMMIT_MESSAGE)'
2018-07-21 16:56:44 +00:00
provider: GitHub
auth_token:
secure: G42snf8s5fEos7UfoRSW6eW+8rqGGMH3iw1ZCjRUjcUSKupHUfrKJMXQ11wbjRuW # your encrypted token from GitHub
2018-08-25 14:41:42 +00:00
artifact: Mirror\Mirror.zip # upload all NuGet packages to release assets
2018-07-21 16:56:44 +00:00
draft: false
prerelease: false
on:
2018-12-18 14:52:46 +00:00
branch: master