summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDaniele Sluijters <daenney@users.noreply.github.com>2015-04-17 19:30:59 +0200
committerDaniele Sluijters <daenney@users.noreply.github.com>2015-04-17 19:30:59 +0200
commitc5ebe1928e1eb4bdb379ead676ae012723096f7b (patch)
tree527d0aaa536df644cd27bfb70cbaca3eb4986468 /.travis.yml
parenta3e907f0f4b6e4ea8a645bb5afd143f39470176e (diff)
travis: Only ever build the master branch
This will stop us from building branches that people with push access push to instead of fork+PR.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 1ee753a..f34c2e3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,9 @@
---
language: ruby
sudo: false
+branches:
+ only:
+ - master
bundler_args: --without system_tests
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
matrix: