sudo: false
language: node_js
node_js:
- stable
cache:
  directories:
  - node_modules
after_success:
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
branches:
  only:
  - master

sudo: false
language: node_js
node_js:
- stable
cache:
  directories:
  - node_modules
after_success:
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
branches:
  except:
  - latest
  - "/^v\\d/"

Build all branches except latest and e.g. v1.0
Build all branches except latest and e.g. v1.0
