Build Stages: Deploying to Rubygems
This example has 2 build stages:
- Two jobs that run tests against Ruby 2.2 and 2.3 respectively
- One job that deploys (releases) the gem to rubygems.org
Here’s what the .travis.yml
config could look like:
This is how the build matrix would look:
You can find the code for this example on our demo repository: