Travis: don't build all branches

Otherwise PRs from people who create branches in the main repo will always
trigger two builds.

The second entry should ensure that we do build releases.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-03-18 08:58:05 -07:00
parent a70597b903
commit 75668d69aa

View file

@ -167,6 +167,6 @@ after_success:
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/after_success.sh
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/
only:
- master
- /^v\d+\.\d+(\.\d+)?$/