.travis.yml: Run npm ci, not npm install.

This enforces that package-lock.json is up to date in Git.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-02-29 14:15:36 -08:00
committed by Tim Abbott
parent 107e522914
commit 747fbb5ab0

View File

@@ -20,7 +20,8 @@ node_js:
before_install:
- ./scripts/travis-xvfb.sh
- npm install -g gulp
- npm install
- npm ci
- (cd app && npm ci)
cache:
directories: