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:
Yohan Boniface 2016-08-04 14:17:31 +02:00 committed by Iván Sánchez Ortega
parent 2ed1f2a2db
commit 0b614b10cf

View File

@ -1,6 +1,10 @@
sudo: false
language: node_js
node_js: stable
branches:
only:
- master
- stable
addons:
artifacts:
paths: