]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci/travis.py: also wait if in "created" state
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 24 Jun 2019 17:03:52 +0000 (19:03 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 24 Jun 2019 17:03:52 +0000 (19:03 +0200)
Apparently they added this state; example:
https://gitlab.labs.nic.cz/knot/knot-resolver/-/jobs/275512

ci/travis.py

index d9f4dc983943163c42939eba5425be7fd280399a..5a3da4826591079b2efbee72cc86d2ff753963e5 100755 (executable)
@@ -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()))