diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-03-18 08:58:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-03-18 09:39:06 -0700 |
commit | 75668d69aa2809b733834ea5f6c55fc2331bbbcc (patch) | |
tree | 5d95c71fb68a72e60496a32df81d3068081624d1 | |
parent | a70597b9033562d4aed58244f3300c7121271ca2 (diff) | |
download | subsurface-75668d69aa2809b733834ea5f6c55fc2331bbbcc.tar.gz |
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>
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index f726ad016..94fabbae1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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+)?$/ |