August 2018
Intermediate to advanced
416 pages
12h 37m
English
In the Travis YML script here, we are specifying sudo privileges, a programming language of Golang, then we are specifying the Docker service, pulling down a custom Docker image of jbelmont/print-average:1.0 and then running the Docker container and removing it:
sudo: required language: go services: - docker before_install: - docker pull jbelmont/print-average:1.0 script: - docker run --rm jbelmont/print-average:1.0
I have added a screenshot of the Travis CI build for your reference:

Notice that Docker is running in the CI build because we specified Docker as a service to be run in Travis ...
Read now
Unlock full access