sudo: false
language: node_js
node_js:
    - 0.12
    - 0.10
    - 4.2
cache:
  directories:
    - node_modules
script:
  - npm test
after_success:
  - npm run coverage-report

sudo: false
language: node_js
node_js:
    - 0.12
    - 0.10
    - 4.2
cache:
  directories:
    - node_modules
branches:
  only:
    - master
script:
  - npm test
after_success:
  - npm run coverage-report

Whitelist to Travis CI: only branch master
Whitelist to Travis CI: only branch master

See
https://egghead.io/lessons/javascript-how-to-write-a-javascript-library-limit-built-branches-on-travis
