-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
11 lines (11 loc) · 966 Bytes
/
appveyor.yml
File metadata and controls
11 lines (11 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
version: 1.0.{build}
image: Visual Studio 2017
environment:
COVERALLS_REPO_TOKEN:
secure: 1oW29ACh/5v8zpwxa7dtIV/0VC7FPUhH4AtKM7r8NrWp+znbePUE/JbeR/r/9KIi
build_script:
- ps: dotnet restore ./ASPNetCoreAngular2YoExample.csproj
- ps: dotnet build ./ASPNetCoreAngular2YoExample.csproj
test_script:
- ps: '&"${env:UserProfile}/.nuget/packages/opencover/4.6.519/tools/OpenCover.Console.exe" -register:user -target:"${env:ProgramFiles}/dotnet/dotnet.exe" -targetargs:"test ASPNetCoreAngular2YoExampleTest" -output:coverage.xml -oldStyle'
- ps: '&"${env:UserProfile}/.nuget/packages/coveralls.net/0.7.0/tools/csmacnz.Coveralls.exe" --opencover -i coverage.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_JOB_ID'