Skip to content

Commit a655308

Browse files
committed
ci(tests): on windows run tests as node4/npm3
Our dependency paths are getting too long due to nested dependencies in npm2. From now on, people should probably be using node 4 and npm 3 on windows.
1 parent 02021b9 commit a655308

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Test against this version of Node.js
22
environment:
3-
nodejs_version: "0.12"
3+
nodejs_version: "4"
44

55
# Install scripts. (runs after repo cloning)
66
install:
@@ -26,4 +26,4 @@ artifacts:
2626
name: test artifacts
2727

2828
# Don't actually build.
29-
build: off
29+
build: off

test/config.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ let config = {
2222
/**
2323
* This should be set to a large enough timeout that it is
2424
* longer than the longest test.
25-
*
25+
*
2626
* Usage (in a given test):
2727
* this.timeout = config.maxTimeout;
28-
*
28+
*
2929
* Note that only certain long tests should use this
3030
* max timeout value (such as installing packages).
31-
*
31+
*
3232
* Most tests should use the default timeout.
3333
*/
34-
maxTimeout: 120000,
34+
maxTimeout: 240000,
3535

3636
/**
3737
* Whether shelljs should suppress output, should be true
@@ -42,17 +42,17 @@ let config = {
4242
/**
4343
* Whether or not to keep the artifacts of the tests after
4444
* they've run.
45-
*
45+
*
4646
* Possible options:
4747
* Positive integer Keeps latests (n) run artifacts
4848
* false (default) Keeps no artifacts
4949
* true | 'all' Keeps all artifacts, Warning. See below.
50-
*
50+
*
5151
* Artifacts are stored in test/artifacts.
52-
*
53-
* Each run of the test suite is given a unique id and each
52+
*
53+
* Each run of the test suite is given a unique id and each
5454
* test is given a unique id.
55-
*
55+
*
5656
* WARNING:
5757
* 'all' or true may be useful for debugging but you should have
5858
* the value set to false or a positive integer by default as the
@@ -62,4 +62,4 @@ let config = {
6262
preserve: 1
6363
};
6464

65-
export {config};
65+
export {config};

0 commit comments

Comments
 (0)