diff --git a/appveyor.yml b/appveyor.yml index 2792ab0fc6..19bb8f4627 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,6 +7,10 @@ init: environment: # Version Suffix version_suffix: alpha + # Set the DOTNET_SKIP_FIRST_TIME_EXPERIENCE environment variable to stop wasting time caching packages + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + # Disable sending usage data to Microsoft + DOTNET_CLI_TELEMETRY_OPTOUT: true install: # Use the install script to grab the latest dotnet install @@ -21,8 +25,11 @@ build_script: - cmd: build.cmd test_script: +- dotnet test tests\ImageSharp.Tests\ImageSharp.Tests.csproj --configuration release - tests\CodeCoverage\CodeCoverage.cmd +test: off + artifacts: - path: artifacts\bin\ImageSharp\**\*.nupkg diff --git a/build/build.csproj b/build/build.csproj index 074c81a4f8..371c6f91b5 100644 --- a/build/build.csproj +++ b/build/build.csproj @@ -9,16 +9,10 @@ build ..\ImageSharp.ruleset - - - - - All - diff --git a/src/ImageSharp.Drawing/ImageSharp.Drawing.csproj b/src/ImageSharp.Drawing/ImageSharp.Drawing.csproj index d9688f242a..ba4ccb7d1e 100644 --- a/src/ImageSharp.Drawing/ImageSharp.Drawing.csproj +++ b/src/ImageSharp.Drawing/ImageSharp.Drawing.csproj @@ -27,16 +27,12 @@ - - - All - @@ -54,7 +50,7 @@ ..\..\ImageSharp.ruleset - true + true diff --git a/src/ImageSharp.Formats.Bmp/ImageSharp.Formats.Bmp.csproj b/src/ImageSharp.Formats.Bmp/ImageSharp.Formats.Bmp.csproj index 6b741d32cf..77df6cac28 100644 --- a/src/ImageSharp.Formats.Bmp/ImageSharp.Formats.Bmp.csproj +++ b/src/ImageSharp.Formats.Bmp/ImageSharp.Formats.Bmp.csproj @@ -27,15 +27,11 @@ - - - All - @@ -53,7 +49,7 @@ ..\..\ImageSharp.ruleset - true + true diff --git a/src/ImageSharp.Formats.Gif/ImageSharp.Formats.Gif.csproj b/src/ImageSharp.Formats.Gif/ImageSharp.Formats.Gif.csproj index a7ee625f77..0b4fd4c2da 100644 --- a/src/ImageSharp.Formats.Gif/ImageSharp.Formats.Gif.csproj +++ b/src/ImageSharp.Formats.Gif/ImageSharp.Formats.Gif.csproj @@ -27,15 +27,11 @@ - - - All - @@ -53,7 +49,7 @@ ..\..\ImageSharp.ruleset - true + true diff --git a/src/ImageSharp.Formats.Jpeg/ImageSharp.Formats.Jpeg.csproj b/src/ImageSharp.Formats.Jpeg/ImageSharp.Formats.Jpeg.csproj index 0b1888c278..f09576932d 100644 --- a/src/ImageSharp.Formats.Jpeg/ImageSharp.Formats.Jpeg.csproj +++ b/src/ImageSharp.Formats.Jpeg/ImageSharp.Formats.Jpeg.csproj @@ -27,15 +27,11 @@ - - - All - @@ -53,7 +49,7 @@ ..\..\ImageSharp.ruleset - true + true diff --git a/src/ImageSharp.Formats.Png/ImageSharp.Formats.Png.csproj b/src/ImageSharp.Formats.Png/ImageSharp.Formats.Png.csproj index 83a48cd2f1..b58d5fbf3b 100644 --- a/src/ImageSharp.Formats.Png/ImageSharp.Formats.Png.csproj +++ b/src/ImageSharp.Formats.Png/ImageSharp.Formats.Png.csproj @@ -2,7 +2,7 @@ A cross-platform library for the processing of image files; written in C# ImageSharp.Formats.Png - 1.0.0-alpha1 + 1.0.0-alpha2 James Jackson-South and contributors netstandard1.1;net45;net461 true @@ -27,15 +27,11 @@ - - - All - @@ -53,7 +49,7 @@ ..\..\ImageSharp.ruleset - true + true diff --git a/src/ImageSharp.Processing/ImageSharp.Processing.csproj b/src/ImageSharp.Processing/ImageSharp.Processing.csproj index 52794e5b36..820c1852d7 100644 --- a/src/ImageSharp.Processing/ImageSharp.Processing.csproj +++ b/src/ImageSharp.Processing/ImageSharp.Processing.csproj @@ -27,15 +27,11 @@ - - - All - @@ -53,7 +49,7 @@ ..\..\ImageSharp.ruleset - true + true diff --git a/src/ImageSharp/ImageSharp.csproj b/src/ImageSharp/ImageSharp.csproj index 4ebfb9a4ad..762e68b508 100644 --- a/src/ImageSharp/ImageSharp.csproj +++ b/src/ImageSharp/ImageSharp.csproj @@ -27,15 +27,11 @@ - - - All - - - - + + + @@ -50,7 +46,7 @@ ..\..\ImageSharp.ruleset - true + true diff --git a/tests/CodeCoverage/CodeCoverage.cmd b/tests/CodeCoverage/CodeCoverage.cmd index e4fe3f9382..056e00ca97 100644 --- a/tests/CodeCoverage/CodeCoverage.cmd +++ b/tests/CodeCoverage/CodeCoverage.cmd @@ -12,7 +12,7 @@ cd .. cd .. rem The -threshold options prevents this taking ages... -tests\CodeCoverage\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test tests\ImageSharp.Tests -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:"C:\Program Files\dotnet\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 if %errorlevel% neq 0 exit /b %errorlevel%