diff options
| author | Jack Koenig | 2020-11-16 10:55:32 -0800 |
|---|---|---|
| committer | GitHub | 2020-11-16 18:55:32 +0000 |
| commit | c9feb47d5bfde08fd7ec97cfeae80c9de7c7dd91 (patch) | |
| tree | dfd2fe0d4186f230ddd58be975470ccf9b35ee8b | |
| parent | 06843bd912f79027b1670b03bc1d77203d589bf6 (diff) | |
Switch to allowlist in Travis SNAPSHOT publishing (#1962)
| -rw-r--r-- | .travis.yml | 6 |
1 files 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 |
