-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
31 lines (26 loc) · 1.41 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
version: 1.0.{build}
skip_tags: true
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
environment:
COVERALLS_REPO_TOKEN:
secure: ei6kFSXZpycYdaICBlwkQ/JtifaOqITPry+VsZdIl46If5PIgnn1w8RISQKigWtn
before_build:
- nuget restore ".\src\AircraftTrajectories.sln"
build:
project: .\src\AircraftTrajectories.sln
verbosity: minimal
test_script:
- ps: >-
.\src\packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -register:user -target:nunit-console.exe "-targetargs:""src\AircraftTrajectories.NUnit.Tests\bin\$env:CONFIGURATION\AircraftTrajectories.NUnit.Tests.dll"" /noshadow" -filter:"+[AircraftTrajectories*]*" -output:opencoverCoverage.xml
$coveralls = (Resolve-Path "src/packages/coveralls.net.*/tools/csmacnz.coveralls.exe").ToString()
$env:APPVEYOR_BUILD_NUMBER
& $coveralls --opencover -i opencoverCoverage.xml --repoToken $env:COVERALLS_REPO_TOKEN --commitId $env:APPVEYOR_REPO_COMMIT --commitBranch $env:APPVEYOR_REPO_BRANCH --commitAuthor $env:APPVEYOR_REPO_COMMIT_AUTHOR --commitEmail $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL --commitMessage $env:APPVEYOR_REPO_COMMIT_MESSAGE --jobId $env:APPVEYOR_BUILD_NUMBER --serviceName appveyor
artifacts:
- path: opencoverCoverage.xml
name: opencoverCoverage.xml