mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
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.
10 lines
160 B
YAML
10 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
|