Skip to content

Commit

Permalink
Only build pushes to master (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardscarrott committed Oct 22, 2016
1 parent 0b03dcd commit 31b3a22
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
language: node_js
node_js:
- "6"
- 6
cache:
directories:
- node_modules
sudo: false
script: npm test && npm run build
branches:
only:
- master
script:
- npm test
- npm run build
after_success:
- 'cat ./coverage/lcov.info | ./node_modules/.bin/coveralls'

0 comments on commit 31b3a22

Please sign in to comment.