Skip to content

Commit 5416ee3

Browse files
committed
refactored
1 parent b44bc0f commit 5416ee3

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

appveyor.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
11
version: 1.0.{build}
22
configuration: 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
124
build_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+
177
test_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%

0 commit comments

Comments
 (0)