In the past week the Travis runs have been consistently taking much more
time than before, usually around 20 minutes, leading to our CI timing out.
https://travis-ci.com/github/CZ-NIC/knot-resolver/builds
- master@knot/knot-resolver
variables:
- $SKIP_CI == "1"
- start_in: 3 minutes # give the build in Travis CI time to finish
+ start_in: 10 minutes # give the build in Travis CI time to finish
+ # ^^ Travis takes around 20m recently and the CI script waits for 15m,
+ # and it gets ran a bit later due to the build phase.
script:
- ci/travis.py ${CI_COMMIT_REF_NAME}
BRANCH_API_ENDPOINT = "https://api.travis-ci.com/repos/CZ-NIC/knot-resolver/branches/{branch}"
JOB_URL = "https://travis-ci.com/CZ-NIC/knot-resolver/jobs/{job_id}"
-TIMEOUT = 600 # 10 mins max
-POLL_DELAY = 15
+TIMEOUT = 15*60 # 15 mins max
+POLL_DELAY = 20
job_id = None