Browse Source

specify runtime

pull/131/head
Scott Williams 9 years ago
parent
commit
d1f95e1c0a
  1. 6
      appveyor.yml
  2. 2
      tests/CodeCoverage/CodeCoverage.cmd

6
appveyor.yml

@ -24,13 +24,9 @@ install:
build_script: build_script:
- cmd: build.cmd - cmd: build.cmd
# run the tests in after build instead of tests to prevent appveryor trying to do its own thing and breaking test_script:
after_build :
- dotnet test tests\ImageSharp.Tests\ImageSharp.Tests.csproj --configuration release
- tests\CodeCoverage\CodeCoverage.cmd - tests\CodeCoverage\CodeCoverage.cmd
test: off
artifacts: artifacts:
- path: artifacts\bin\ImageSharp\**\*.nupkg - path: artifacts\bin\ImageSharp\**\*.nupkg

2
tests/CodeCoverage/CodeCoverage.cmd

@ -12,7 +12,7 @@ cd ..
cd .. cd ..
rem The -threshold options prevents this taking ages... rem The -threshold options prevents this taking ages...
tests\CodeCoverage\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"dotnet.exe" -targetargs:"test tests\ImageSharp.Tests\ImageSharp.Tests.csproj -c Release -f net451" -threshold:10 -register:user -filter:"+[ImageSharp*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -returntargetcode -output:.\ImageSharp.Coverage.xml tests\CodeCoverage\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"dotnet.exe" -targetargs:"test tests\ImageSharp.Tests\ImageSharp.Tests.csproj -c Release -f net451 --RuntimeIdentifier=win7-x64" -threshold:10 -register:user -filter:"+[ImageSharp*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -returntargetcode -output:.\ImageSharp.Coverage.xml
if %errorlevel% neq 0 exit /b %errorlevel% if %errorlevel% neq 0 exit /b %errorlevel%

Loading…
Cancel
Save