From 65d907d17724d514e8f2aea50d39f2da106a0770 Mon Sep 17 00:00:00 2001 From: Tom Russell <tomalrussell@gmail.com> Date: Sat, 23 Feb 2019 15:34:29 +0000 Subject: [PATCH] Use npm ci to match package-lock.json --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0cf3069a..8ceb64ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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