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

This commit is contained in:
Joseph Page 2015-08-19 17:47:01 +02:00
parent d252288dae
commit abeeca0d5f

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