From 8f4662d05abf6395c17ea92b6e87e61e6a9dce54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Tue, 8 Jun 2021 16:34:17 -0700 Subject: [PATCH] restrict travis builds to main and release branches (#11349) --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2fbc7d6b0f0..b0accff55aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,11 @@ # See the License for the specific language governing permissions and # limitations under the License. +branches: + only: + - master + - /^\d+\.\d+\.\d+(-\S*)?$/ # release branches + language: java dist: xenial