Skip tests for release build
This commit is contained in:
parent
9b09d103fd
commit
df62fb7788
1 changed files with 1 additions and 13 deletions
14
appveyor.yml
14
appveyor.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue