Build Stages: Sharing a Docker image
This example has 2 build stages:
- One job builds and pushes a Docker image
- Two jobs that pull and test the image
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: