mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Flush prints to stop travis timeout
This commit is contained in:
parent
7ecf4203bf
commit
63dda78e61
@ -10,6 +10,7 @@ if os.environ.get('BITBAR_API_KEY') == None:
|
|||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
else:
|
else:
|
||||||
print "Running tests"
|
print "Running tests"
|
||||||
|
sys.stdout.flush()
|
||||||
|
|
||||||
runID = os.environ['TRAVIS_BUILD_NUMBER']
|
runID = os.environ['TRAVIS_BUILD_NUMBER']
|
||||||
apiKey = os.environ['BITBAR_API_KEY']
|
apiKey = os.environ['BITBAR_API_KEY']
|
||||||
@ -27,5 +28,6 @@ for x in range(0, 50):
|
|||||||
raise AssertionError("Success ratio only: {}".format(ratio))
|
raise AssertionError("Success ratio only: {}".format(ratio))
|
||||||
else:
|
else:
|
||||||
print "Waiting for results"
|
print "Waiting for results"
|
||||||
|
sys.stdout.flush()
|
||||||
time.sleep(30)
|
time.sleep(30)
|
||||||
raise TimeoutError("Test not found/complete")
|
raise TimeoutError("Test not found/complete")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user