Skip to content

Commit 755cdd9

Browse files
author
Ray Schamp
committed
Remove cache from Travis, begin using npm ci
We have thought about moving to use package-lock.json the way NPM suggests, and at the same time have begun having issues with Travis caches. To address both at the same time, remove the cache from Travis, and make up the time by moving to package-lock.json + npm ci for install.
1 parent e90b344 commit 755cdd9

File tree

3 files changed

+16051
-6
lines changed

3 files changed

+16051
-6
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
.DS_Store
33

44
# NPM
5-
package-lock.json
65
/node_modules
76
npm-*
87

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,10 @@ env:
88
matrix:
99
- NPM_SCRIPT="tap:unit -- --jobs=4"
1010
- NPM_SCRIPT="tap:integration -- --jobs=4"
11-
sudo: false
1211
cache:
1312
directories:
14-
- node_modules
15-
install:
16-
- npm --production=false install
17-
- npm --production=false update
13+
- "$HOME/.npm"
14+
install: npm ci
1815
script: npm run $NPM_SCRIPT
1916
jobs:
2017
include:

0 commit comments

Comments
 (0)