Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 825de1c

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 e5318c6 commit 825de1c

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 [email protected]
4748
- time npm install
4849

4950
before_script:

package.json

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

0 commit comments

Comments
 (0)