Repository navigation
Run production tests on npm package - #3730
Conversation
| yarn: true | ||
| directories: | ||
| - node_modules | ||
| - node_modules |
| - NODE_ENV=development | ||
| - NODE_ENV=production | ||
| matrix: | ||
| fast_finish: true |
There was a problem hiding this comment.
Yeah, shouldn't we leave this, in order to learn about build failures faster? From https://blog.travis-ci.com/2013-11-27-fast-finishing-builds:
With fast finishing enabled, Travis CI will mark your build as finished as soon as one of two conditions are met: The only remaining jobs are allowed to fail, or a job has already failed.
We don't have any jobs allowed to fail, so it should be safe to leave fast_finish enabled.
There was a problem hiding this comment.
Ah, I was under the impression it only applied when jobs were allowed to fail. Reverted.
|
How likely it is that a build will pass in production but fail in development? |
|
Shouldn't be possible, but I don't know for sure. |
Runs the production tests agains the result of actually installing the package, rather than from the
distdirectory.Extracted from #3712
Fixes #3698