Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 0dba679

Browse files
committed
chore(npm/travis): upgrade to npm 2.5 and require it via package.json
currently karma's dependencies don't install on node 0.12 or io.js so we'll just update npm in hope that that this will mitigate "cb() never called!" erorrs. See: https://travis-ci.org/angular/angular.js/jobs/51474043#L2181
1 parent 190fc70 commit 0dba679

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ install:
4444
- npm config set spin false
4545
# Log HTTP requests
4646
- npm config set loglevel http
47+
- npm install -g npm@2.5
4748
- time npm install
4849

4950
before_script:

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"type": "git",
77
"url": "https://github.com/angular/angular.js.git"
88
},
9+
"engine": {
10+
"node" : "~0.10",
11+
"npm": "~2.5"
12+
},
13+
"engineStrict": true,
914
"devDependencies": {
1015
"angular-benchpress": "0.x.x",
1116
"benchmark": "1.x.x",

0 commit comments

Comments
 (0)