← works
2019 · Developer Tooling · CI/CD · Research

Travis Listener

A small library that streams new builds from the Travis CI API in real time.

The problem

To study continuous integration — or to react to a build while it still matters — you need to catch builds as they happen, but the CI API is pull-based.

The approach

Travis Listener polls the Travis CI API and emits an event for every new build, so tools can collect data or act on a build within seconds.

In practice

It underpinned large-scale studies of Travis CI and the live pipeline of the Repairnator repair bot.

Highlights

  • Streams new builds from the Travis CI API
  • React within seconds of a build starting
  • Used in large-scale CI studies and Repairnator