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 language: node_js
node_js: node_js:
- 8 - 8
cache: cache: npm
directories:
- app/node_modules
before_script: before_script:
- cd $TRAVIS_BUILD_DIR/app && npm install - cd $TRAVIS_BUILD_DIR/app && npm ci
script: script:
- cd $TRAVIS_BUILD_DIR/app && npm test - cd $TRAVIS_BUILD_DIR/app && npm test