pdf.js/.travis.yml
Jonas Jenwald 78b1dad2a9 Don't let Travis run npm update during setup
Letting Travis update npm packages can lead to unexpected and completely unrelated failures for any PR and/or merge, see e.g. 11719, if there's ever backwards *incompatible* changes when a package is updated.

The *exact* package versions are specified in `package-lock.json`, and they should thus be used when running tests. Note that the bots won't update npm packages, and neither should Travis as far as I'm concerned.
2020-03-20 15:45:15 +01:00

11 lines
160 B
YAML

language: node_js
node_js:
- node
cache:
directories:
- node_modules
install:
- npm install -g npm@latest
- npm install -g gulp-cli
- npm install