Use npm ci to match package-lock.json

This commit is contained in:
Tom Russell 2019-02-23 15:34:29 +00:00
parent fb2390b2cd
commit 65d907d177

View File

@ -1,10 +1,8 @@
language: node_js
node_js:
- 8
cache:
directories:
- app/node_modules
cache: npm
before_script:
- cd $TRAVIS_BUILD_DIR/app && npm install
- cd $TRAVIS_BUILD_DIR/app && npm ci
script:
- cd $TRAVIS_BUILD_DIR/app && npm test