From c9feb47d5bfde08fd7ec97cfeae80c9de7c7dd91 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Mon, 16 Nov 2020 10:55:32 -0800 Subject: Switch to allowlist in Travis SNAPSHOT publishing (#1962) --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cd88f80e..efcb6434 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,9 @@ jdk: openjdk8 branches: only: - master - - /^\d+\.\d+\.x$/ + - 1.4.x + - 1.3.x + - 1.2.x cache: directories: @@ -33,7 +35,7 @@ stages: - name: prepare - name: test - name: release - if: ((branch = master) OR (branch =~ /^\d+\.\d+\.x$/)) AND (type = push) AND (NOT fork) + if: (branch IN (master, 1.4.x, 1.3.x, 1.2.x)) AND (type = push) AND (NOT fork) # We do not use the built-in tests as generated by using multiple Scala # versions because the cache is not shared between stages with any -- cgit v1.2.3