Skip to content

Commit 5235ce2

Browse files
committed
added azure yml
1 parent 616a3c8 commit 5235ce2

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ install:
99

1010
build_script:
1111
- nuget restore money/cs-money.sln
12+
- msbuild money/cs-money.csproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:runCodeAnalysis=true /p:codeanalysislogfile=..\analysis.xml
1213

1314
test_script:
14-
- msbuild money/cs-money.csproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:runCodeAnalysis=true /p:codeanalysislogfile=..\analysis.xml
1515
- .\money\packages\OpenCover.4.6.519\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.4.1\tools\nunit3-console.exe" -targetargs:"money\bin\Debug\cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user
1616

1717
after_test:

azure-pipelines.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
jobs:
2+
- job: Windows
3+
pool:
4+
vmImage: 'vs2015-win2012r2'
5+
steps:
6+
- bash: |
7+
wget -q https://testspace-client.s3.amazonaws.com/testspace-windows.zip
8+
# 7z x -y testspace-windows.zip
9+
unzip -q testspace-windows.zip
10+
testspace config url samples.testspace.com
11+
testspace -v
12+
displayName: 'Setup'
13+
- script: |
14+
nuget restore money/cs-money.sln
15+
msbuild money/cs-money.csproj /p:runCodeAnalysis=true /p:codeanalysislogfile=..\analysis.xml
16+
displayName: 'Build'
17+
- script: |
18+
.\money\packages\OpenCover.4.6.519\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.4.1\tools\nunit3-console.exe" -targetargs:"money\bin\Debug\cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user
19+
displayName: 'Test'
20+
- script: |
21+
testspace analysis.xml [Tests]TestResult.xml coverage.xml
22+
condition: always()
23+
displayName: 'Push'

0 commit comments

Comments
 (0)