Skip to content

Commit

Permalink
chore: avoid double travis build for PRs (ipfs#1133)
Browse files Browse the repository at this point in the history
Disable building branches that aren't master - builds will happen
for all PRs anyway, so this change means we don't get a branch
build and a PR build on each PR.
  • Loading branch information
achingbrain committed Oct 22, 2019
1 parent 91ee5b3 commit 2d8361a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
language: node_js
cache: npm

branches:
only:
- master
- /^release\/.*$/

stages:
- check
- test
Expand Down

0 comments on commit 2d8361a

Please sign in to comment.