explicitly whitelist branches for building

This commit is contained in:
Shivaram Lingamneni 2020-11-09 14:51:39 -05:00
parent fc5efcea7a
commit 0bb0d382ee
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,11 @@ dist: focal
go: go:
- "1.15.x" - "1.15.x"
branches:
only:
- master
- stable
before_install: before_install:
# https://github.com/travis-ci/travis-ci/issues/8361 # https://github.com/travis-ci/travis-ci/issues/8361
- sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6' - sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'