.travis.yml: Increase timeout for docker image builds to 20 minutes (#7214)
Konstantinos Natsakis committed
Oct 30, 2019 at 11:59 UTC
3fde0522c94ee239ed68760c9a7d5fd176290c25
1 file changed
+5
-6
.travis.yml
+5
-6
@@ -493,10 +493,10 @@ jobs:
493
- echo "Last commit:" && git log -1
494
- echo "GIT Describe:" && git describe
495
- echo "packaging/version:" && cat packaging/version
496
- - >-
497
- packaging/docker/check_login.sh
496
+ - docker info
497
+ - packaging/docker/check_login.sh
498
&& echo "Switching to latest master branch, to pick up tagging if any" && git checkout master && git pull
499
- && packaging/docker/build.sh
499
+ && travis_wait 20 packaging/docker/build.sh
500
&& packaging/docker/publish.sh
501
after_failure: post_message "TRAVIS_MESSAGE" "<!here> Docker image publishing failed"
502
@@ -592,9 +592,8 @@ jobs:
592
- echo "GIT Describe:" && git describe
593
- echo "packaging/version:" && cat packaging/version
594
- docker info
595
- - >-
596
- packaging/docker/check_login.sh
597
- && packaging/docker/build.sh
595
+ - packaging/docker/check_login.sh
596
+ && travis_wait 20 packaging/docker/build.sh
597
&& packaging/docker/publish.sh
598
after_failure: post_message "TRAVIS_MESSAGE" "<!here> Nightly docker image publish failed"
599