Skip to content

Commit

Permalink
feat: reduce required travis builds
Browse files Browse the repository at this point in the history
  • Loading branch information
janl committed Apr 11, 2018
1 parent 29d33d0 commit 2c33fa9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Expand Up @@ -13,6 +13,11 @@ before_install: npm i -g npm@5
before_script: node ./update.js
after_script: node ./upload.js
after_success: npm run semantic-release

# Trigger a push build on master and greenkeeper branches + PRs build on every branches
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
branches:
except:
- /^v\d+\.\d+\.\d+$/
only:
- master
- /^greenkeeper.*$/

0 comments on commit 2c33fa9

Please sign in to comment.