Merge pull request #17840 from woocommerce/update/travis-ci-builds

Prevent Travis builds duplication
This commit is contained in:
Claudio Sanches 2017-11-21 11:50:06 -02:00 committed by GitHub
commit 9bef98b7f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -37,3 +37,10 @@ script:
after_script:
- bash tests/bin/travis.sh after
# Specifies that Travis should create builds for master and release branches and also tags.
branches:
only:
- master
- /^\d+\.\d+(\.\d+)?(-\S*)?$/
- /^release\//