Atom Build Feeds
One way to get updates on your builds is an Atom feed.
You can read it in your favorite RSS reader, or programmatically consume it with scripts.
Atom Feeds #
Every repository on Travis CI has its own Atom feed, which includes all builds that were run on it, with both pull requests and normal commits.
The feeds are fetched directly from our API at https://api.travis-ci.org
.
The canonical URL for a repository’s builds is:
https://api.travis-ci.org/repos/travis-ci/travis-ci/builds
This URL returns a JSON representation by default, but you can get the Atom feed by adding the .atom
suffix:
https://api.travis-ci.org/repos/travis-ci/travis-ci/builds.atom
Private Repositories #
For private repositories you need a token to subscribe to
the feed. The API endpoint is different too: https://api.travis-ci.com
-
The token is the same as is used to fetch a build status image, which can be found on the repository page. See the related documentation for more details on how to access the token.
-
Once you have the token, append it as the
token
parameter to the URL:https://api.travis-ci.com/repos/travis-ci/billing/builds.atom?token=<token>