Travis CI

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Travis CI
Developer(s) Travis CI community
Written in Ruby
Platform Web
Type Continuous integration

In software development, Travis CI is a hosted, distributed[1] continuous integration service used to build and test projects hosted at GitHub.[2]

Travis CI is configured by adding a file named .travis.yml, which is a YAML format text file, to the root directory of the GitHub repository.[3]

Travis CI automatically detects when a commit has been made and pushed to a GitHub repository that is using Travis CI, and each time this happens, it will try to build the project and run tests. This includes commits to all branches, not just to the master branch.[3] Travis CI will also build and run pull requests. When that process has completed, it will notify a developer in the way it has been configured to do so[3] — for example, by sending an email containing the test results (showing success or failure), or by posting a message on an IRC channel. It can be configured to run the tests on a range of different machines, with different software installed (such as older versions of a programming language, to test for compatibility).[4]

It supports building software in numerous languages, including C, C++, Clojure, Erlang, Go, Groovy, Haskell, Java, JavaScript, Perl, PHP, Python, Ruby and Scala.[5] Several high-profile open source projects are using it to run builds and tests on every commit, such as Plone, Ruby on Rails, Ruby, and Node.js.[6][7][8] Over 8056 Javascript projects currently[when?] use it, including Ember.js and batman.js.[3]

In 2012 Travis CI launched a crowd funding campaign to fund further development[9] which was sponsored by dozens of technology companies.[10]

A hosted service, Travis Pro, supporting private repositories, is currently[when?] in beta testing.[3]

Further reading[edit]

See also[edit]


  1. ^ "Travis-CI README.textile: Goals". Retrieved 4 October 2012. 
  2. ^ "Travis-CI README.textile: Setting server environment up". Retrieved 4 October 2012. 
  3. ^ a b c d e Tim Heckel (18 Feb 2013). "Meet Travis CI: Open Source Continuous Integration". InfoQ. Retrieved 28 June 2013. 
  4. ^ Ben Welsh (14 June 2012). "Test your Django app with Travis CI". LA Times Data Desk. Retrieved 28 June 2013. 
  5. ^ "Travis documentation". Retrieved 2 Jun 2013. 
  6. ^ "Plone developer documentation". Retrieved 2 Jun 2013. 
  7. ^ Manuel Pais (23 Feb 2012). "Travis CI Announces Support for Java and Plans for Travis Pro". InfoQ. Retrieved 27 May 2012. 
  8. ^ "Rails now tested on Travis CI". Retrieved 27 May 2012. 
  9. ^ "All you need is". 7 Feb 2012. Retrieved 27 May 2012. 
  10. ^ "Thank you, sponsors". Retrieved 27 May 2012. 

External links[edit]