Build Stages: Deploying to npm
This example has 2 build stages:
- Four jobs that run tests against Node versions 4 to 7
- One job that deploys (releases) the package to npm
Here’s what the .travis.yml
config could look like:
This is how the build matrix might look:
You can find the code for this example on our demo repository: