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.
pull/3231/merge
Karl Hobley 2017-02-05 10:34:06 +00:00 zatwierdzone przez GitHub
rodzic 59b31b3b28
commit e3416574fb
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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: