Skip to content

Commit

Permalink
Install peerDependencies conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptEmulation committed Mar 25, 2017
1 parent c090e45 commit c367194
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c367194

Please sign in to comment.