From: Vladimír Čunát Date: Mon, 24 Jun 2019 17:03:52 +0000 (+0200) Subject: ci/travis.py: also wait if in "created" state X-Git-Tag: v4.1.0~16^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9c87f1644c99ee6582a69b2cda5ad8df0bdc8aa;p=thirdparty%2Fknot-resolver.git ci/travis.py: also wait if in "created" state Apparently they added this state; example: https://gitlab.labs.nic.cz/knot/knot-resolver/-/jobs/275512 --- diff --git a/ci/travis.py b/ci/travis.py index d9f4dc983..5a3da4826 100755 --- a/ci/travis.py +++ b/ci/travis.py @@ -38,7 +38,7 @@ while time.time() < end_time: if state == "passed": exit("Travis CI Result: PASSED!", code=0) - elif state == "started": + elif state == "created" or state == "started": continue else: exit("Travis CI Result: {}!".format(state.upper()))