Prevent Travis from running twice on a PR (#4766)
Currently, when we open a PR, Travis run twice: once because it's a PR and once for the last commit of the PR. This change will make Travis run for *commits* only when made directly on master (which should not happen that much, but still happen). Of course, Travis will still be run for a PR, but only once.
This commit is contained in:
parent
2ed1f2a2db
commit
0b614b10cf
@ -1,6 +1,10 @@
|
|||||||
sudo: false
|
sudo: false
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js: stable
|
node_js: stable
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- stable
|
||||||
addons:
|
addons:
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
Loading…
Reference in New Issue
Block a user