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
parent 6e3d9531
Pipeline #49583 canceled with stages
in 5 minutes and 15 seconds
......@@ -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()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment