From e3416574fbc8feb4ad3d4aaa7e64cd878d2987d2 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Sun, 5 Feb 2017 10:34:06 +0000 Subject: [PATCH] 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. --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9b89ccbbc..4d007b49a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: