From 5eb2dac13e23441ea6bc0c3f39ed336ee0725a3d Mon Sep 17 00:00:00 2001 From: John Dean Date: Sat, 25 Mar 2017 18:09:32 -0500 Subject: [PATCH] I supposed npm1 needs an explicit install as well --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 99db04413..638fec553 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ node_js: script: # Install peerDependencies on > npm3 # When all dependencies declare bitcore-lib as a peerDependency this can be bumped up, but this matches the current ecosystem version expected by dependencies - - if [ $(npm --version | sed 's/\..*//g') -ge 3 ]; then npm install bitcore-lib@^0.13.13; fi + - if [ $(npm --version | sed 's/\..*//g') -ne 2 ]; then npm install bitcore-lib@^0.13.13; fi - npm run regtest - npm run test - npm run jshint