We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e970322 commit e89907fCopy full SHA for e89907f
.travis.yml
@@ -17,6 +17,11 @@ node_js:
17
- '0.12'
18
- '0.10'
19
20
+before_install:
21
+ - if [ $(echo "${TRAVIS_NODE_VERSION}" | cut -d'.' -f1) -eq 5 ]; then
22
+ npm i -g npm@4;
23
+ fi
24
+
25
after_success:
26
- if [ $(echo "${TRAVIS_NODE_VERSION}" | cut -d'.' -f1) -ge 6 ]; then
27
npm run coveralls;
appveyor.yml
@@ -20,7 +20,8 @@ environment:
install:
- ps: Install-Product node $env:nodejs_version
- - npm install
+ - ps: if ($env:nodejs_version -eq '5') { npm i -g npm@4 }
+ - cmd: npm install
test_script:
- node --version
0 commit comments