.travis.yml: packaging/docker/check_login.sh can cause the build to fail (#6655)
Make packaging/docker/check_login.sh serve it's purpose and have the ability to cancel the build promptly.
Konstantinos Natsakis committed
Aug 29, 2019 at 19:54 UTC
448c63fe03bcc47956d0a5578e06bb9568e0f158
1 file changed
+9
-7
.travis.yml
+9
-7
@@ -506,10 +506,11 @@ jobs:
506
- echo "Last commit:" && git log -1
507
- echo "GIT Describe:" && git describe
508
- echo "packaging/version:" && cat packaging/version
509
- - packaging/docker/check_login.sh
510
- - echo "Switching to latest master branch, to pick up tagging if any" && git checkout master && git pull
511
- - packaging/docker/build.sh
512
- - packaging/docker/publish.sh
509
+ - >-
510
+ packaging/docker/check_login.sh
511
+ && echo "Switching to latest master branch, to pick up tagging if any" && git checkout master && git pull
512
+ && packaging/docker/build.sh
513
+ && packaging/docker/publish.sh
514
after_failure: post_message "TRAVIS_MESSAGE" "<!here> Docker image publishing failed"
515
516
name: Build & Publish docker image for i386
@@ -594,9 +595,10 @@ jobs:
595
- echo "GIT Describe:" && git describe
596
- echo "packaging/version:" && cat packaging/version
597
- docker info
597
- - packaging/docker/check_login.sh
598
- - packaging/docker/build.sh
599
- - packaging/docker/publish.sh
598
+ - >-
599
+ packaging/docker/check_login.sh
600
+ && packaging/docker/build.sh
601
+ && packaging/docker/publish.sh
602
after_failure: post_message "TRAVIS_MESSAGE" "<!here> Nightly docker image publish failed"
603
604
name: Build & Publish docker image for i386