language: node_js
node_js:
- '0.12'
- '0.10'
- '0.8'
- iojs
before_install:
- npm install -g npm@~1.4.6
after_success:
- npm install -g istanbul
- npm install coveralls
- istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R spec
- ./node_modules/.bin/coveralls < ./coverage/lcov.info
- rm -rf ./coverage
deploy:
  provider: npm
  email: argon@mkbot.net
  api_key:
    secure: W4yhYfQUhyhOOG/nUwYXr2DgIv8Kp/pzyUMtWc2garnHLPMvaMY+w/0NzKC06/UmApiJdRalWDNNDqNJAl2G22Hs/eHVpAelHejzQw3BY26QW71tTCPQR3Cv7r6gDBUN2o9rxjlJt+vpbJR1wEoFRnwn3d6298zDw+fzjlM+Wvo=
  on:
    tags: true

language: node_js
node_js:
- '0.12'
- '0.10'
- '0.8'
- iojs
before_install:
- npm install -g npm@2.7.3
after_success:
- npm install -g istanbul
- npm install coveralls
- istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R spec
- ./node_modules/.bin/coveralls < ./coverage/lcov.info
- rm -rf ./coverage
deploy:
  provider: npm
  email: argon@mkbot.net
  api_key:
    secure: W4yhYfQUhyhOOG/nUwYXr2DgIv8Kp/pzyUMtWc2garnHLPMvaMY+w/0NzKC06/UmApiJdRalWDNNDqNJAl2G22Hs/eHVpAelHejzQw3BY26QW71tTCPQR3Cv7r6gDBUN2o9rxjlJt+vpbJR1wEoFRnwn3d6298zDw+fzjlM+Wvo=
  on:
    tags: true

Use newest possible version of npm
Use newest possible version of npm

npmlog in 2.7.4 broke 0.8 support: https://github.com/npm/npm/commit/4bfbaa2d8b9dc7067d999de8f55676db3a4f4196

https://github.com/iarna/are-we-there-yet/issues/1
