[travis] fix npm bugs for node 0.8 (recommended way)

master
Joseph Page 2015-08-19 17:47:01 +02:00
parent d252288dae
commit abeeca0d5f
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
language: node_js
sudo: false
before_install:
- "npm i -g npm@1.4.28"
- '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@1.4.28'
- npm install -g npm@latest
node_js:
- 0.8
- 0.10