Run tests from appveyor and travis builds (Linux only for now)

This commit is contained in:
baldurk
2017-08-29 12:40:55 +01:00
parent eb787f9a5f
commit 73b85f141a
3 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ branches:
- v0.x
- v1.x
# having another branch lets us force-push tests here without spamming master
- travis-test
- ci-test
env:
global:
+7
View File
@@ -4,6 +4,7 @@ branches:
only:
- v0.x
- v1.x
- ci-test
image: Visual Studio 2015
@@ -73,3 +74,9 @@ build_script:
sh -c ./scripts/hash_version.sh
msbuild renderdoc.sln /v:m "/p:Configuration=$env:CONFIGURATION" "/p:Platform=$env:PLATFORM" /p:PlatformToolset=v140
test_script:
- ps: $env:testexe = "$env:PLATFORM\$env:CONFIGURATION\renderdoccmd.exe"
- ps: if ( $env:PLATFORM -eq "x86" ) { $env:testexe = "Win32\$env:CONFIGURATION\renderdoccmd.exe" }
- cmd: >-
"%testexe%" test -t unit
+4
View File
@@ -21,3 +21,7 @@ else
cmake -DCMAKE_BUILD_TYPE=Debug ..
fi
make -j2
echo "--- Running unit tests ---"
./bin/renderdoccmd test -t unit