**DO NOT MERGE** Attempt to trigger a Travis CI npm ci install error#13613
**DO NOT MERGE** Attempt to trigger a Travis CI npm ci install error#13613
npm ci install error#13613Conversation
|
Confirming that the $ nvm install --latest-npm
Found '/home/travis/build/WordPress/gutenberg/.nvmrc' with version <lts/*>
Downloading and installing node v10.15.1...
Local cache found: $NVM_DIR/.cache/bin/node-v10.15.1-linux-x64/node-v10.15.1-linux-x64.tar.xz
Checksums match! Using existing downloaded archive $NVM_DIR/.cache/bin/node-v10.15.1-linux-x64/node-v10.15.1-linux-x64.tar.xz
Now using node v10.15.1 (npm v6.4.1)
Attempting to upgrade to the latest working version of npm...
0: command not found
0: command not found
* Installing latest `npm`; if this does not work on your node version, please report a bug!
/home/travis/.nvm/versions/node/v10.15.1/bin/npm -> /home/travis/.nvm/versions/node/v10.15.1/lib/node_modules/npm/bin/npm-cli.js
/home/travis/.nvm/versions/node/v10.15.1/bin/npx -> /home/travis/.nvm/versions/node/v10.15.1/lib/node_modules/npm/bin/npx-cli.js
+ [email protected]
added 52 packages from 7 contributors, removed 13 packages and updated 41 packages in 6.522s
* npm upgraded to: v6.7.0
0.66s$ npm ci
npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR!
npm ERR!
npm ERR! Invalid: lock file's [email protected] does not satisfy [email protected]
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /home/travis/.npm/_logs/2019-01-31T10_59_39_229Z-debug.log
The command "npm ci" failed and exited with 1 during .
Your build has been stopped.The build continued though, even though the last line states |
|
The docs state: https://docs.travis-ci.com/user/build-matrix/#sts=Fast%20Finishing%20#
To mark the build as finished as soon as possible, add matrix:
fast_finish: trueAs we currently don't use I'll try a commit switching from |
|
Aside: Switching from Adding I'm not sure why |
|
Closing this PR, it has served its testing purpose for #13462 though I still do not know why |

Description
DO NOT MERGE
Ref #13462 (comment)
This PR is attempting to trigger a Travis CI build job to terminate with an error due to
package.jsonhas been updated but *not thepackage-lock.jsonfile.Currently
npm ciis in theinstallsection of.travis.yml: https://github.com/WordPress/gutenberg/blob/master/.travis.yml#L34-L35Per the docs at https://docs.travis-ci.com/user/job-lifecycle#breaking-the-build
Therefore the build should throw
erroredand terminate immediately upon error.How has this been tested?
See above, this is a test PR for #13462
Screenshots
Types of changes
Checklist: