Jump to content

Travis CI

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Palosirkka (talk | contribs) at 16:49, 20 November 2013 (added licensing details). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Travis CI
Developer(s)Travis CI community
Written inRuby
PlatformWeb
TypeContinuous integration
LicenseMIT [1]
Websitetravis-ci.org

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

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

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

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

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

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

Further reading

  • "Travis CI at Nodejitsu".

See also

References

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