mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
appveyor.yml: Swap stderr and stdout when running cask
This commit is contained in:
parent
3f0a4b7829
commit
ac7ed04488
1 changed files with 4 additions and 3 deletions
|
@ -21,7 +21,8 @@ install:
|
|||
- ps: |
|
||||
Add-Content -Path run-cask -Value @'
|
||||
#!/usr/bin/env bash
|
||||
$CASK_PYTHON ~/.cask/bin/cask $@ 2>&1
|
||||
# Swap stderr and stdout, seems that they are mixed up.
|
||||
$CASK_PYTHON ~/.cask/bin/cask $@ 3>&2 2>&1 1>&3
|
||||
'@
|
||||
- chmod +x run-cask
|
||||
- set PATH=%APPVEYOR_BUILD_FOLDER%;%PATH%
|
||||
|
@ -82,8 +83,8 @@ test_script:
|
|||
# return null even though the Job is supposes to be complete. The
|
||||
# recommended solution is to ensure WaitForExit() is called.
|
||||
$emacs.WaitForExit()
|
||||
$emacs_exitcode = $emacs.ExitCode
|
||||
if ($emacs_exitcode -eq 0) {
|
||||
Write-Host "Emacs ExitCode '$($emacs.ExitCode)'"
|
||||
if ($emacs.ExitCode -eq 0) {
|
||||
Write-Host "Tests passed" -BackgroundColor green
|
||||
} else {
|
||||
throw "Tests failed"
|
||||
|
|
Loading…
Add table
Reference in a new issue