File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed
Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change 11version : 1.0.{build}
22configuration : Debug
3- install :
4- - ps : >-
5- mkdir .\money\packages
63
7- mkdir .\money\packages\testspace
8-
9- wget https://testspace-client.s3.amazonaws.com/testspace-windows.zip -outfile .\money\packages\testspace.zip
10-
11- 7z x .\money\packages\testspace.zip -omoney\packages\testspace
124build_script :
13- - ps : >-
14- nuget restore money/cs-money.sln
15-
16- msbuild money/cs-money.csproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:runCodeAnalysis=true /p:codeanalysislogfile=StaticAnalysis.xml
5+ - nuget restore money/cs-money.sln
6+
177test_script :
18- - ps : >-
19- .\money\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:".\money\packages\NUnit.ConsoleRunner.3.2.1\tools\nunit3-console.exe" -targetargs:'.\ money\bin\Debug\cs-money.dll' -output:'.\ coverage.xml' -filter:' +[*]* -[*]*MoneyTest*' -register:user
8+ - msbuild money/cs-money.csproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:runCodeAnalysis=true /p:codeanalysislogfile=..\analysis.xml
9+ - .\money\packages\OpenCover.4.6.519\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.2.1\tools\nunit3-console.exe" -targetargs:" money\bin\Debug\cs-money.dll" -output:" coverage.xml" -filter:" +[*]* -[*]*MoneyTest*" -register:user
2010
21- .\money\packages\testspace\testspace.exe publish .\testresult.xml .\coverage.xml .\money\staticanalysis.xml "${ENV:TESTSPACE_URL}"
11+ after_test :
12+ - curl -fsS -o testspace-windows.zip https://testspace-client.s3.amazonaws.com/testspace-windows.zip
13+ - 7z x -y testspace-windows.zip
14+ - testspace publish analysis.xml [Tests]TestResult.xml coverage.xml %TESTSPACE_TOKEN%/%APPVEYOR_REPO_BRANCH%#appveyor.build.%APPVEYOR_BUILD_NUMBER%
You can’t perform that action at this time.
0 commit comments