diff --git a/PMF.Tests/PMF.Tests.csproj b/PMF.Tests/PMF.Tests.csproj index 5b1791f..2f562b5 100644 --- a/PMF.Tests/PMF.Tests.csproj +++ b/PMF.Tests/PMF.Tests.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1 + netcoreapp2.0 false diff --git a/PMF/PMF.csproj b/PMF/PMF.csproj index 0f855f6..538a44d 100644 --- a/PMF/PMF.csproj +++ b/PMF/PMF.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + netcoreapp2.0 PMF 0.0.1 PMF diff --git a/appveyor.yml b/appveyor.yml index a930962..9e36acc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,28 +11,15 @@ environment: COVERALLS_REPO_TOKEN: secure: R+Jc9tMD0NdANAabzHqtZi4gymBCKRbKas0s0LEUQh5xOQLQDVZFUcMpxV3Yfd4c -init: - # Good practise, because Windows line endings are different from Unix/Linux ones - - cmd: git config --global core.autocrlf true -before_build: - # Display .NET Core version - - cmd: dotnet --version - # Display minimal restore text - - cmd: dotnet restore build_script: - # output will be in ./src/bin/debug/netcoreapp1.1/publish - - cmd: dotnet build + - dotnet build test_script: - ps: >- nuget install xunit.runner.console -OutputDirectory packages -Version 2.3.1 nuget install OpenCover -OutputDirectory packages -Version 4.6.166 - dotnet tool install coveralls.net --version 1.0.0-beta0002 --tool-path tools - - .\packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -register:user -target:dotnet.exe "-targetargs:"".\packages\xunit.runner.console.2.3.1\tools\netcoreapp3.1\xunit.console.dll"" ""src\PMF.Tests\bin\Release\netcoreapp3.1\PMF.Tests.dll"" -noshadow -appveyor" -filter:"+[PMFYea*]*" -oldStyle -output:opencoverCoverage.xml + .\packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -register:user -target:dotnet.exe "-targetargs:"".\packages\xunit.runner.console.2.3.1\tools\netcoreapp2.0\xunit.console.dll"" ""PMF.Tests\bin\Release\netcoreapp2.0\PMF.Tests.dll"" -noshadow -appveyor" -filter:"+[GameOfLife*]*" -oldStyle -output:opencoverCoverage.xml $coveralls = ".\tools\csmacnz.coveralls.exe" - - & $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_JOB_ID - + & $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_JOB_ID \ No newline at end of file