-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: use [email protected] for Node.js < 4
- Loading branch information
1 parent
2585f20
commit 7511d08
Showing
2 changed files
with
10 additions
and
5 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 |
---|---|---|
|
@@ -31,23 +31,23 @@ jobs: | |
include: | ||
- name: Node.js 0.10 | ||
node-version: "0.10" | ||
npm-i: [email protected] [email protected] | ||
npm-i: [email protected] [email protected] [email protected] | ||
|
||
- name: Node.js 0.12 | ||
node-version: "0.12" | ||
npm-i: [email protected] [email protected] | ||
npm-i: [email protected] [email protected] [email protected] | ||
|
||
- name: io.js 1.x | ||
node-version: "1.8" | ||
npm-i: [email protected] [email protected] | ||
npm-i: [email protected] [email protected] [email protected] | ||
|
||
- name: io.js 2.x | ||
node-version: "2.5" | ||
npm-i: [email protected] [email protected] | ||
npm-i: [email protected] [email protected] [email protected] | ||
|
||
- name: io.js 3.x | ||
node-version: "3.3" | ||
npm-i: [email protected] [email protected] | ||
npm-i: [email protected] [email protected] [email protected] | ||
|
||
- name: Node.js 4.x | ||
node-version: "4.9" | ||
|
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 |
---|---|---|
|
@@ -36,6 +36,11 @@ install: | |
sls "^eslint(-|$)" | ` | ||
%{ npm rm --silent --save-dev $_ } | ||
# Setup Node.js version-specific dependencies | ||
- ps: | | ||
# minimatch for Node.js < 4 | ||
if ([int]$env:nodejs_version.split(".")[0] -lt 4) { | ||
npm install --silent --save-dev [email protected] | ||
} | ||
- ps: | | ||
# mocha for testing | ||
# - use 3.x for Node.js < 4 | ||
|