-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix travis build issue with latest npm
- Loading branch information
Showing
2 changed files
with
5 additions
and
0 deletions.
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 |
---|---|---|
|
@@ -27,6 +27,7 @@ cache: | |
before_install: | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CC=gcc-7 && CXX=g++-7; fi | ||
- if ! [[ "$TRAVIS_OS_NAME" == "windows" ]]; then npm run fetch-libsodium; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then node `npm prefix -g`/node_modules/npm/bin/npm-cli.js i -g [email protected]; fi # node-gyp 5.0.5 does not work so downgrade npm until they release with node-gyp@6 | ||
|
||
before_deploy: | ||
- ARCHIVE_NAME="${TRAVIS_TAG:-latest}-$TRAVIS_OS_NAME-`uname -m`.tar" | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,10 @@ | |
|
||
## Current | ||
|
||
## v2.4.9 | ||
|
||
* Downgrades npm on travis to 6.11.x as we cannot build prebuilds with [email protected]. Can be upgraded again when npm ships node-gyp@6. | ||
|
||
## v2.4.8 | ||
|
||
* Removing Node 4 and 6 from Travis as the config does not work there. We still build for 4 and 6 though. | ||
|