Skip to content

Commit de309da

Browse files
committed
Separate .NET 3.5 CodeDOM test from other .NET 3.5 test to avoid AppVeyor timeout.
1 parent 584bd0c commit de309da

File tree

3 files changed

+41
-2
lines changed

3 files changed

+41
-2
lines changed

appveyor-debug35-codedom.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
version: '{branch}-{build}'
2+
image: Visual Studio 2017
3+
skip_tags: true
4+
configuration: Debug
5+
assembly_info:
6+
patch: true
7+
file: '**\*AssemblyInfo.cs'
8+
assembly_version: $(AssemblyBaseVersion).0
9+
assembly_file_version: $(AssemblyBaseVersion).{build}
10+
assembly_informational_version: $(PackageVersion)
11+
environment:
12+
XamarinMSBuildExtensionsPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild
13+
install:
14+
- cmd: >-
15+
cd .\build
16+
- ps: >-
17+
./SetBuildEnv.ps1
18+
19+
cd ..
20+
build_script:
21+
- ps: >-
22+
Write-Host "Configuration=${env:CONFIGURATION}"
23+
24+
cd ./build
25+
26+
./Build.ps1
27+
28+
if ( $LastExitCode -ne 0 )
29+
{
30+
Write-Error "Failed to build."
31+
exit 1
32+
}
33+
34+
cd ..
35+
test_script:
36+
- cmd: >-
37+
cd ./build
38+
39+
./RunUnitTests35-codedom.cmd

build/RunUnitTests35-CodeDOM.cmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nunit3-console %APPVEYOR_BUILD_FOLDER%/test/MsgPack.UnitTest.CodeDom.Net35/bin/Debug/net35/MsgPack.UnitTest.CodeDom.Net35.dll --framework:net-3.5 --result=test-result-net35-codedom.xml;format=AppVeyor
2+
if not %errorlevel% == 0 exit /b 1

build/RunUnitTests35.cmd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
nunit3-console %APPVEYOR_BUILD_FOLDER%/test/MsgPack.UnitTest.Net35/bin/Debug/net35/MsgPack.UnitTest.Net35.dll --framework:net-3.5 --result=test-result-net35.xml;format=AppVeyor
22
if not %errorlevel% == 0 exit /b 1
3-
nunit3-console %APPVEYOR_BUILD_FOLDER%/test/MsgPack.UnitTest.CodeDom.Net35/bin/Debug/net35/MsgPack.UnitTest.CodeDom.Net35.dll --framework:net-3.5 --result=test-result-net35-codedom.xml;format=AppVeyor
4-
if not %errorlevel% == 0 exit /b 1

0 commit comments

Comments
 (0)