diff --git a/appveyor.yml b/appveyor.yml index aff29a0..474b5b8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,4 +22,5 @@ cache: - packages -> **\packages.config build_script: - - ps: ./docker-init \ No newline at end of file + - ps: ./docker-init + - ps: ./coverage \ No newline at end of file diff --git a/coverage.ps1 b/coverage.ps1 index 2d07c93..4496d3a 100644 --- a/coverage.ps1 +++ b/coverage.ps1 @@ -1,3 +1,6 @@ +& cd .nuget +& ./NuGet-dotnet-install +& cd .. if(![System.IO.File]::Exists("packages/tools/dotnet-sonarscanner.exe")) { # file with path $path doesn't exist dotnet tool install --tool-path packages/tools dotnet-sonarscanner diff --git a/docker-init.ps1 b/docker-init.ps1 index 9f3136d..875fedc 100644 --- a/docker-init.ps1 +++ b/docker-init.ps1 @@ -4,8 +4,4 @@ $image = "dot-net-sdk-3.0.100-preview2:latest" & dotnet --list-sdks & docker --version & docker build -f .appveyour/Dockerfile -t $image . -& docker run --rm -it --name $container $image -& cd .nuget -& ./NuGet-dotnet-install -& cd .. -& ./coverage \ No newline at end of file +& docker run --rm -it --name $container $image \ No newline at end of file