From a8e5a0197273c1639de879d529b9896daf5a9a06 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Wed, 19 Aug 2020 17:46:54 -0700 Subject: [PATCH] Enable wait option during travis ci build because bazel build takes time and does not print any message on console due to which build exits --- .travis.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0812166e..634464ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,14 +22,8 @@ install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget -N https://github.com/bazelbuild/bazel/releases/download/3.0.0/bazel-3.0.0-installer-linux-x86_64.sh && chmod +x bazel-3.0.0-installer-linux-x86_64.sh && ./bazel-3.0.0-installer-linux-x86_64.sh --user; go get -u github.com/swaggo/swag/cmd/swag; go mod download; sudo apt-get update; sudo apt-get install rpm; sudo apt install snapd; sudo snap install skopeo --edge --devmode; fi script: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make && make -f Makefile.bazel build; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make && travis_wait make -f Makefile.bazel build; fi after_success: - bash <(curl -s https://codecov.io/bash) - -script: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make && make -f Makefile.bazel build; fi - -after_success: - - bash <(curl -s https://codecov.io/bash)