Skip to content

Commit

Permalink
VS2017 - NetCore2 (OpenCover)
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot committed Aug 26, 2017
1 parent ee8f03c commit e8d1e40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ build_script:
- ps: .\build.ps1
test_script:
- ps: .\run-tests.ps1
- nuget.exe install OpenCover -ExcludeVersion
- OpenCover\tools\OpenCover.Console.exe -register:user -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test tests\NLog.UnitTests --configuration Debug --framework net461" -returntargetcode -filter:"+[NLog]* +[NLog.Extended]* -[NLog]JetBrains.Annotations.*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:coverage.xml
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "coverage.xml"
deploy: off
artifacts:
- path: 'artifacts\*.nupkg'
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
dotnet --version

dotnet restore .\src\NLog\
dotnet pack .\src\NLog\ --configuration release -o artifacts
dotnet pack .\src\NLog\ --configuration release -o ..\..\artifacts

exit $LASTEXITCODE

0 comments on commit e8d1e40

Please sign in to comment.