forked from SheetJS/sheetjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed failing travis builds (SheetJS#2040)
* Added condition npm install to travis * Updated node_version.sh perms
- Loading branch information
1 parent
8795f86
commit 93ec51e
Showing
2 changed files
with
12 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 |
---|---|---|
|
@@ -44,7 +44,7 @@ matrix: | |
|
||
before_install: | ||
- "npm config set strict-ssl false" | ||
# - "npm install -g [email protected]" | ||
- "./misc/node_version.sh" | ||
- "npm install -g [email protected] voc" | ||
- "npm install blanket" | ||
- "npm install word" | ||
|
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#! /usr/bin/env bash | ||
|
||
# This script will check the current version of node and install another version | ||
# of npm if node is version 0.8 | ||
|
||
version=$(node --version) | ||
|
||
if [[ $version =~ v0\.8\. ]] | ||
then | ||
npm install -g [email protected] | ||
fi |