Skip to content

Commit 2770acc

Browse files
committed
Use config env var for msbuild and opencover
[skip ci]
1 parent 9ed082a commit 2770acc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
platform: Any CPU
22
image: Visual Studio 2017
3+
configuration: Debug
34

45
before_build:
56
- nuget restore
@@ -8,6 +9,6 @@ before_build:
89
- nuget install coveralls.net -Version 0.412 -OutputDirectory buildtools
910

1011
build_script:
11-
- msbuild /p:Configuration=Debug HttpWebClient.sln
12-
12+
- cmd: msbuild /p:Configuration=%CONFIGURATION% HttpWebClient.sln
13+
- cmd: buildtools\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"buildtools\xunit.runner.console.2.2.0\tools\xunit.console.exe" -targetargs:"HttpWebClient.UnitTests\bin\%CONFIGURATION%\HttpWebClient.UnitTests.dll -noappdomain" -filter:"+[HttpWebClient]*"
1314

0 commit comments

Comments
 (0)