-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install peerDependencies conditionally
- Loading branch information
1 parent
c090e45
commit c367194
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected]; fi | ||
- npm install | ||
- npm install bitcore-lib | ||
after_script: | ||
- gulp coveralls |