Building a Continuous Integration Pipeline with Travis CI

By Elle Krout

Bring Agile and DevOps practices from code push to production to your existing version control setup with Travis CI.

3 hours
  • 22 Lessons
  • 2 Hands-On Labs

About the course

Travis CI lets us automate the process of code testing, integration, delivery, and deployment, allowing us to bring DevOps and Agile principles into our code practices from push to production deployment. Fully-hosted and ready to use at only a few clicks of a button, Travis CI ties into your existing version control system and gets you ready to automate build testing and more with minimal up-front effort – gone are the days of having to supply your own testing infra!

This course gets you started with Travis CI by breaking down the primary tool used to setup the platform: the .travis.yaml file. We’ll break down this file and use its structure to learn the different build phases Travis CI takes when integrating our application. With knowledge of these phases, we can then optimize our “Travisfile” to perform a number of jobs, test against a number of parameters, work in both parallel and in stages, and deploy to as many endpoints as we need.

  • Chapter 1 3 Lessons Introduction 11:28

    Course Overview

    1:56

    CI/CD Refresher

    3:20

    The Environment and Applications

    6:12
  • Chapter 2 9 Lessons Setup and First Build 46:04

    Setup and First Build Introduction

    2:45

    Platforms, Support, and Tools

    4:28

    Authorize and Activate

    5:11

    The .travis.yml File

    5:52

    Adding Docker

    9:35

    The Travis Client

    4:45

    The Travis API

    4:56

    LAB: Testing a Python API with Travis CI

    6:17

    Summary

    2:15
  • Chapter 3 5 Lessons Improving the Build Process 36:45

    The Job Lifecycle

    5:22

    Building in Parallel with Build Matrices

    7:32

    Job Stages

    12:52

    Conditionals

    3:36

    LAB: Refactoring a Travis CI Build

    7:23
  • Chapter 4 4 Lessons Build Deployment 1:28:12

    Adding a Deployment

    5:29

    Deploying to GitHub Pages

    7:43

    Deploying to AWS with Travis CI

    30:00 Hands-On Lab

    Deploying to GCP with Travis CI

    45:00 Hands-On Lab
  • Chapter 5 1 Lesson Conclusion 1:03

    Course Summary

    1:03

What are Hands-on Labs

What's the difference between theoretical knowledge and real skills? Practical real-world experience. That's where Hands-on Labs come in! Hands-on Labs are guided, interactive experiences that help you learn and practice real-world scenarios in real cloud environments. Hands-on Labs are seamlessly integrated in courses, so you can learn by doing.

Get Started
Who’s going to be learning?
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!