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.
This commit is contained in:
Ray Schamp 2018-06-28 10:34:54 -04:00
parent e90b344b15
commit 755cdd98e5
3 changed files with 16051 additions and 6 deletions

1
.gitignore vendored
View File

@ -2,7 +2,6 @@
.DS_Store
# NPM
package-lock.json
/node_modules
npm-*

View File

@ -8,13 +8,10 @@ env:
matrix:
- NPM_SCRIPT="tap:unit -- --jobs=4"
- NPM_SCRIPT="tap:integration -- --jobs=4"
sudo: false
cache:
directories:
- node_modules
install:
- npm --production=false install
- npm --production=false update
- "$HOME/.npm"
install: npm ci
script: npm run $NPM_SCRIPT
jobs:
include:

16049
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff