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 523e162 commit 5520e32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ node_js:
- "v0.12.7"
- "v4"
script:
# When all dependencies declare bitcore-lib as a peerDependency this can be bumped up, but this matches the current version expected by dependencies
- npm install bitcore-lib@0.13.7
- npm 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 [email protected]; fi
- npm run regtest
- npm run test
- npm run jshint
Expand Down

0 comments on commit 5520e32

Please sign in to comment.