File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ branches:
5
5
- v0.x
6
6
- v1.x
7
7
# having another branch lets us force-push tests here without spamming master
8
- - travis -test
8
+ - ci -test
9
9
10
10
env :
11
11
global :
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ branches:
4
4
only :
5
5
- v0.x
6
6
- v1.x
7
+ - ci-test
7
8
8
9
image : Visual Studio 2015
9
10
@@ -73,3 +74,9 @@ build_script:
73
74
sh -c ./scripts/hash_version.sh
74
75
75
76
msbuild renderdoc.sln /v:m "/p:Configuration=$env:CONFIGURATION" "/p:Platform=$env:PLATFORM" /p:PlatformToolset=v140
77
+
78
+ test_script :
79
+ - ps : $env:testexe = "$env:PLATFORM\$env:CONFIGURATION\renderdoccmd.exe"
80
+ - ps : if ( $env:PLATFORM -eq "x86" ) { $env:testexe = "Win32\$env:CONFIGURATION\renderdoccmd.exe" }
81
+ - cmd : >-
82
+ "%testexe%" test -t unit
Original file line number Diff line number Diff line change 21
21
cmake -DCMAKE_BUILD_TYPE=Debug ..
22
22
fi
23
23
make -j2
24
+
25
+ echo " --- Running unit tests ---"
26
+
27
+ ./bin/renderdoccmd test -t unit
You can’t perform that action at this time.
0 commit comments