Skip to content

Commit

Permalink
Use -v instead of -s in CI
Browse files Browse the repository at this point in the history
No-capturing mode -s is useful for remote debugging especially in case
libjulia initialization fails.  But it makes reading output almost
impossible.  Let's use -v instead since it provides what test is being
executed in a more readable format.
  • Loading branch information
tkf committed Oct 28, 2018
1 parent 9247319 commit 4fe9397
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ script:
# "py,py27" below would be redundant when the main interpreter is
# Python 2.7 but it simplifies the CI setup.
- if [ "$CROSS_VERSION" = "1" ]; then
$PYTHON -m tox -e py,py27 -- -s;
$PYTHON -m tox -e py,py27 -- -v;
fi

- PYJULIA_TEST_REBUILD=yes $PYTHON -m tox -- --cov=julia -s
- PYJULIA_TEST_REBUILD=yes $PYTHON -m tox -- --cov=julia -v

after_success:
- coveralls
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ test_script:
# Run cross-version tests but ignore the failures (from Python 2).
# Once cross-version in Windows is fmixed, stop using
# Invoke-Expression (which ignores the exit status).
- ps: if ($env:CROSS_VERSION -eq 1) { Invoke-Expression "tox -- -s" }
# - ps: if ($env:CROSS_VERSION -eq 1) { tox -- -s }
- ps: if ($env:CROSS_VERSION -eq 1) { Invoke-Expression "tox -- -v" }
# - ps: if ($env:CROSS_VERSION -eq 1) { tox -- -v }

# Rebuild PyCall.ji for each Python interpreter before testing:
- "SET PYJULIA_TEST_REBUILD=yes"
- tox -- -s
- tox -- -v

0 comments on commit 4fe9397

Please sign in to comment.