Skip tests for release build

This commit is contained in:
John Kleinschmidt 2018-06-20 18:20:04 -04:00
parent 9b09d103fd
commit df62fb7788

View file

@ -44,19 +44,7 @@ build_script:
test_script:
- ps: >-
if (Test-Path Env:\ELECTRON_RELEASE) {
Write-Output "Running tests for release build"
python script\test.py --ci --rebuild_native_modules -c R
if ($LASTEXITCODE -ne '0') {
throw "Tests failed with exit code $LASTEXITCODE"
} else {
Write-Output "Tests succeeded."
}
python script\verify-ffmpeg.py -R
if ($LASTEXITCODE -ne '0') {
throw "Verify ffmpeg failed with exit code $LASTEXITCODE"
} else {
"Verify ffmpeg succeeded."
}
Write-Output "Skipping tests for release build"
} else {
Write-Output "Running tests for debug build"
python script\test.py --ci --rebuild_native_modules