Skip to content

Commit 5768f19

Browse files
committed
Setting our own timeout for bazel command that is less than travis timeout to avoid killing the job and allowing to store partially populated cache
1 parent 5e81741 commit 5768f19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/travis/script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if [[ ! -z "$BZL" ]]; then
3737
bazel $BZL
3838
fi
3939
else
40-
bazel $BZL
40+
timeout 40m bazel $BZL
4141
fi
4242
bazel analyze-profile /tmp/bazelprofile
4343
fi

0 commit comments

Comments
 (0)