restrict travis builds to main and release branches (#11349)

This commit is contained in:
Xavier Léauté 2021-06-08 16:34:17 -07:00 committed by GitHub
parent be10a236d5
commit 8f4662d05a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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