diff --git a/.travis.yml b/.travis.yml index 2f24aec..df6277c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,9 @@ before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start install: + # 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.7; fi - npm install - - npm install bitcore-lib after_script: - gulp coveralls