A distributed build system for the open source community.
Switch branches/tags
v0.0.2 v0.0.1 deploy.2012-05-06.16-14 deploy.2012-05-06.15-19 deploy.2012-05-06.15-15 deploy.2012-05-06.15-10 deploy.2012-05-06.15-04 deploy.2012-05-06.14-15 deploy.2012-05-05.19-30 deploy.2012-05-05.19-14 deploy.2012-05-05.18-23 deploy.2012-05-05.13-22 deploy.2012-05-05.10-02 deploy.2012-05-05.09-20 deploy.2012-05-03.14-48 deploy.2012-05-03.13-50 deploy.2012-05-03.11-39 deploy.2012-05-03.11-21 deploy.2012-05-03.10-58 deploy.2012-04-30.16-24 deploy.2012-04-30.14-38 deploy.2012-04-30.14-20 deploy.2012-04-30.14-11 deploy.2012-04-27.07-48 deploy.2012-04-19.11-27 deploy.2012-04-16.20-39 deploy.2012-04-16.19-41 deploy.2012-04-10.14-50 deploy.2012-04-10.13-56 deploy.2012-04-10.13-18 deploy.2012-03-28.15-58 deploy.2012-03-28.15-12 deploy.2012-03-27.13-26 deploy.2012-03-20.18-46 deploy.2012-03-18.15-20 deploy.2012-03-16.17-39 deploy.2012-03-16.17-16 deploy.2012-03-16.17-10 deploy.2012-03-16.17-03 deploy.2012-03-16.15-59 deploy.2012-03-16.15-54 deploy.2012-03-16.15-45 deploy.2012-03-12.04-48 deploy.2012-03-12.04-24 deploy.2012-03-12.04-20 deploy.2012-03-12.02-56 deploy.2012-03-11.13-38 deploy.2012-03-11.12-11 deploy.2012-03-09.16-46 deploy.2012-03-06.23-12 deploy.2012-03-06.17-30 deploy.2012-03-06.17-22 deploy.2012-03-06.16-48 deploy.2012-03-06.11-45 deploy.2012-02-29.20-27 deploy.2012-02-29.20-09 deploy.2012-02-29.17-31 deploy.2012-02-29.16-05 deploy.2012-02-29.16-02 deploy.2012-02-29.15-58 deploy.2012-02-27.16-34 deploy.2012-02-27.13-59 deploy.2012-02-27.11-27 deploy.2012-02-27.10-49 deploy.2012-02-27.09-15 deploy.2012-02-26.17-07 deploy.2012-02-26.13-43 deploy.2012-02-25.11-04 deploy.2012-02-25.10-37 deploy.2012-02-24.17-21 deploy.2012-02-24.14-57 deploy.2012-02-24.13-56 deploy.2012-02-24.11-25 deploy.2012-02-23.13-54 deploy.2012-02-23.12-36 deploy.2012-02-23.09-24 deploy.2012-02-22.12-38 deploy.2012-02-21.09-39 deploy.2012-02-21.09-06 deploy.2012-02-20.23-11 deploy.2012-02-20.19-45 deploy.2012-02-20.19-33 deploy.2012-02-19.18-02 deploy.2012-02-19.15-29 deploy.2012-02-18.23-01 deploy.2012-02-18.20-00 deploy.2012-02-18.14-02 deploy.2012-02-16.15-30 deploy.2012-02-15.11-47 deploy.2012-02-07.11-37 deploy.2012-02-03.17-55 deploy.2012-01-31.19-17 deploy.2012-01-19.08-05 deploy.2012-01-18.21-25 deploy.2012-01-18.14-12 deploy.2012-01-18.14-00 deploy.2012-01-18.13-25 deploy.2012-01-13.15-57 deploy.2012-01-12.18-43 deploy.2012-01-12.18-31
Nothing to show
Pull request Compare This branch is 3176 commits ahead, 3607 commits behind travis-ci:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


What is Travis CI

A distributed build system for the open source community


Travis is an attempt to create an open-source, distributed build system for the OSS community that:

1. Allows open-source projects to effortlessly register their GitHub repository and have their test suites run after pushes
2. Allows users to contribute build capacity by connecting a machine that runs Travis workers and VMs they use on their underused servers

With Travis CI our vision is to become for builds (i.e. tests, for starters) what services like rubygems.org or Maven Central are for distribution of libraries.
We strive to build a rock solid, but dead-easy to use open-source continuous integration service for the open source community.

See It In Action

You can see Travis CI in action at travis-ci.org. With about 1 year in operation, we have some prominent open source projects trusting travis-ci.org to run their continuous integration:

We Are Not Done Yet

Please note that this is a work in progress. We have only reached our goal #1 so far. We try to follow the 80/20 for requirements. I.e. we focus on the most common use cases.

Travis CI is not currently a good fit for closed in-house installations: there are multiple applications that evolve
rapidly and workers need VMs running on the same host. Ask on the IRC channel for more information.

You can also watch this (a year old but still valid) screencast to get an idea: 1:20 quick demo screencast

Get In Touch!

User Documentation

We care about our documentation and make sure our documentation guides are clearly
written and up-to-date. Please make sure you read them. Two key guides are

and we also have guides technology-specific guides:

Technical Overview

Travis consists of several parts:

  • An Ember.js-based single-page application that runs client side.
  • A Rails 3 application that serves to the in-browser application and takes pings from Github.
  • A JRuby and AMQP powered worker for running a project’s test suite in snapshotted virtual machines.
  • A websocket server (we use Pusher) for tailing build results to the browser.
  • A JRuby-based AMQP daemon that collects build reports, workers state, propagates them to Pusher, delivers notifications and so on.
  • Chef cookbooks that are used to provision the Travis CI environment (to provide databases, RabbitMQ, Rubies/JDK/Node.js versions and so on) and tools that build VM images.

All these applications, tools and libraries are hosted under Travis CI github organization.
This particular repository is the site that powers travis-ci.org.

A more detailed overview is available in our Technical Overview guide aimed at developers.

Setting server environment up

The setup consists of 4 steps:

$ bundle install
$ bundle exec rake travis:setup:config

This will create two files: ./config/travis.yml and ./config/database.yml. Edit these files according to your local configuration.

Travis CI is configured to authenticate with OAuth and github. You’ll need to register your application with github (even if it’s only for local development) and complete all the required fields in ./config/travis.yml for your ID and secret.

Next, tell Travis to configure the database:

$ bundle exec rake travis:setup

And finally start the server:

$ bundle exec foreman start

Note that you always start the server using foreman, not unicorn or webrick

Travis CI is now up & running on http://localhost:5000

Working on the server

Running the tests

Integration tests are implemented using Jasmine and can be run in the browser:

To run the whole test suite simply do:

$ bundle exec rake test:ci

To run only the jasmine specs do:

$ bundle exec rake test:jasmine

In order to run all tests you need to have ChromeDriver installed. You can download it here and then place it somewhere on your PATH.

Dependency Status

Developer Documentation

Please keep in mind that Travis CI evolves rapidly and this documentation may be outdated. Development, travis-ci.org maintenance and
user documentation take priority.


Design Iterations

Other sources


  • Ruby 1.9.2 (Ruby 1.9.1 is not supported)
  • PostgreSQL for the pg gem
  • RabbitMQ
  • VirtualBox 4.1