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 License[1]
Website travis-ci.org (Free) travis-ci.com (Pro)

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

Open source projects may be tested at no charge via travis-ci.org. Private projects may be tested at the same location on a fee basis. TravisPro provides custom deployments of a proprietary version on the customer's own hardware.

Although the source is technically free software and available piecemeal on GitHub under permissive licenses, the company notes that it is unlikely that casual users could successfully integrate it on their own platforms.[4]

Configuration[edit]

Travis CI is configured by adding a file named .travis.yml, which is a YAML format text file, to the root directory of the repository.[5] This file specifies the programming language used, the desired building and testing environment (including dependencies which must be installed before the software can be built and tested), and various other parameters.

Operation[edit]

When Travis CI has been activated for a given repository, GitHub will notify it whenever new commits are pushed to that repository or a pull request is submitted. It can also be configured to only run for specific branches, or branches whose names match a specific pattern. Travis CI will then check out the relevant branch and run the commands specified in .travis.yml, which usually build the software and run any automated tests. When that process has completed, Travis notifies the developer(s) 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. In the case of pull requests, the pull request will be annotated with the outcome and a link to the build log, using a GitHub integration.

Travis CI 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 implementation, to test for compatibility),[6] and supports building software in numerous languages, including C, C++, C#, Clojure, D, Erlang, F#, Go, Groovy, Haskell, Java, JavaScript, Julia, Perl, PHP, Python, R, Ruby, Rust, Scala and Visual Basic.[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] As of February 2013, over 8056 JavaScript projects use it.[5]

Integration[edit]

Travis CI supports integration with external tools such as coverage analyzers or static analyzers. In the case of Coverity Scan, for instance, Travis CI can run the build stage under Coverity's cov-build tool, and submit the result for analysis if the build succeeds.[11]

Company[edit]

The company is headquartered in Berlin, Germany and was founded in 2011.[12] In 2012 the project experienced significant growth[13] and launched a crowd funding campaign to fund further development[14] which was sponsored by dozens of technology companies.[15]

See also[edit]

References[edit]

  1. ^ Travis CI 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. ^ "How We Improved the Installation and Update Experience for Travis CI Enterprise". Retrieved 25 October 2015. 
  5. ^ a b c 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 27 Feb 2015. 
  8. ^ "Plone developer 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. ^ "Travis CI Integration". Archived from the original on 2016-01-12. Retrieved 2016-01-22. 
  12. ^ "Travis CI | CrunchBase". www.crunchbase.com. Retrieved 2015-11-14. 
  13. ^ "The Travis CI Blog: 2012 at Travis CI - what a blast!". blog.travis-ci.com. Retrieved 2015-11-14. 
  14. ^ "All you need is love.travis-ci.org". 7 Feb 2012. Retrieved 27 May 2012. 
  15. ^ "Thank you, sponsors". love.travis-ci.org. Retrieved 27 May 2012. 

External links[edit]