From 75668d69aa2809b733834ea5f6c55fc2331bbbcc Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 18 Mar 2019 08:58:05 -0700 Subject: 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 --- .travis.yml | 6 +++--- 1 file 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+)?$/ -- cgit v1.2.3-70-g09d2