Skip to content

Commit

Permalink
Try stderr->stdout redirect against Travis CI term
Browse files Browse the repository at this point in the history
  • Loading branch information
mbargull committed Nov 22, 2022
1 parent 85fdc68 commit e0ab1ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipe/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ else
fi

echo "Running: ${runtests[*]}"
"${runtests[@]}"
# Oddly enough, Travis CI seems to buffer stderr output more than stdout;
# So, to avoid early job terminations, redirect stderr to unbuffered stdout
PYTHONUNBUFFERED=1 2>&1 \
"${runtests[@]}"

pip check

0 comments on commit e0ab1ab

Please sign in to comment.