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
License MIT
Website travis-ci.org

In software development, Travis CI is a hosted, distributed[1] continuous integration service used to build and test projects hosted at GitHub.[2] The software is also available as an open source download on GitHub,[3] although its developers do not currently recommend it for on-premise use for closed projects.[4]

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.[5]

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.[5] 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[5] — 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).[6]

It supports building software in numerous languages, including C, C++, Clojure, Erlang, Go, Groovy, Haskell, Java, JavaScript, Perl, PHP, Python, Ruby and Scala.[7] 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.[8][9][10] Over 8056 Javascript projects currently use it, including Ember.js and batman.js.[5]

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

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

Further reading[edit]

See also[edit]

References[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. ^ "Welcome to Travis-CI". Retrieved 4 October 2012. 
  4. ^ "Travis-CI README.textile: We Are Not Done Yet". Retrieved 4 October 2012. 
  5. ^ a b c d e Tim Heckel (18 Feb 2013). "Meet Travis CI: Open Source Continuous Integration". InfoQ. Retrieved 28 June 2013. 
  6. ^ Ben Welsh (14 June 2012). "Test your Django app with Travis CI". LA Times Data Desk. Retrieved 28 June 2013. 
  7. ^ "Travis documentation". Retrieved 2 Jun 2013. 
  8. ^ "Plone developper documentation". Retrieved 2 Jun 2013. 
  9. ^ Manuel Pais (23 Feb 2012). "Travis CI Announces Support for Java and Plans for Travis Pro". InfoQ. Retrieved 27 May 2012. 
  10. ^ "Rails now tested on Travis CI". Retrieved 27 May 2012. 
  11. ^ "All you need is love.travis-ci.org". 7 Feb 2012. Retrieved 27 May 2012. 
  12. ^ "Thank you, sponsors". love.travis-ci.org. Retrieved 27 May 2012. 

External links[edit]