Run python in unbuffered mode on Drone

The test output currently freezes while the tests are running on Drone. Then, suddenly, all the test output appears when it's done.

I assume this has got something to do with python buffering stdout, this commit disables that.
This commit is contained in:
Karl Hobley 2017-02-05 10:34:06 +00:00 committed by GitHub
parent 59b31b3b28
commit e3416574fb

View file

@ -25,7 +25,7 @@ pipeline:
commands:
- XDG_CACHE_HOME=/drone/pip-cache pip install wheel
- XDG_CACHE_HOME=/drone/pip-cache pip install -e .[testing,docs]
- python runtests.py
- python -u runtests.py
cache:
mount: