<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>12.1. Travis CI — groonga v3.0.5 documentation</title> <link rel="stylesheet" href="../_static/groonga.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '3.0.5', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <link rel="shortcut icon" href="../_static/favicon.ico"/> <link rel="top" title="groonga v3.0.5 documentation" href="../index.html" /> <link rel="up" title="12. Development" href="../development.html" /> <link rel="next" title="13. How to contribute to groonga" href="../contribution.html" /> <link rel="prev" title="12. Development" href="../development.html" /> </head> <body> <div class="header"> <h1 class="title"> <a id="top-link" href="../index.html"> <span class="project">groonga</span> <span class="separator">-</span> <span class="description">An open-source fulltext search engine and column store.</span> </a> </h1> <div class="other-language-links"> <ul> <li><a href="../../../ja/html/development/travis-ci.html"><img src="../_static/jp.png" alt="日本語">日本語版はこちら</a></li> </ul> </div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="../contribution.html" title="13. How to contribute to groonga" accesskey="N">next</a> |</li> <li class="right" > <a href="../development.html" title="12. Development" accesskey="P">previous</a> |</li> <li><a href="../index.html">groonga v3.0.5 documentation</a> »</li> <li><a href="../development.html" accesskey="U">12. Development</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="travis-ci"> <h1>12.1. Travis CI<a class="headerlink" href="#travis-ci" title="Permalink to this headline">¶</a></h1> <p>This section describes about using groonga on <a class="reference external" href="http://travis-ci.org/">Travis CI</a>. Travis CI is a hosted continuous integration service for the open source community.</p> <p>You can use Travis CI for your open source software. This section only describes about groonga related configuration. See <a class="reference external" href="http://about.travis-ci.org/docs/">Travis CI: Documentation</a> about general Travis CI.</p> <div class="section" id="configuration"> <h2>12.1.1. Configuration<a class="headerlink" href="#configuration" title="Permalink to this headline">¶</a></h2> <p>Travis CI is running on 32-bit Ubuntu 11.10. (See <a class="reference external" href="http://about.travis-ci.org/docs/user/ci-environment/">Travis CI: About Travis CI Environment</a>.) You can use apt-line for Ubuntu 11.10 provided by groonga project to install groonga on Travis CI.</p> <p>You can custom build lifecycle by <tt class="docutils literal"><span class="pre">.travis.yml</span></tt>. (See <a class="reference external" href="http://about.travis-ci.org/docs/user/build-configuration/">Travis CI: Conifugration your Travis CI build with .travis.yml</a>.) You can use <tt class="docutils literal"><span class="pre">before_install</span></tt> hook or <tt class="docutils literal"><span class="pre">install</span></tt> hook. You should use <tt class="docutils literal"><span class="pre">before_install</span></tt> if your software uses a language that is supported by Travis CI such as Ruby. You should use <tt class="docutils literal"><span class="pre">install</span></tt> otherwise.</p> <p>Add the following <tt class="docutils literal"><span class="pre">before_install</span></tt> configuration to <tt class="docutils literal"><span class="pre">.travis.yml</span></tt>:</p> <div class="highlight-none"><div class="highlight"><pre>before_install: - curl https://raw.github.com/groonga/groonga/master/data/travis/setup.sh | sh </pre></div> </div> <p>If you need to use <tt class="docutils literal"><span class="pre">install</span></tt> hook instead of <tt class="docutils literal"><span class="pre">before_install</span></tt>, you just substitute <tt class="docutils literal"><span class="pre">before_install:</span></tt> with <tt class="docutils literal"><span class="pre">install:</span></tt>.</p> <p>With the above configuration, you can use groonga for your build.</p> </div> <div class="section" id="examples"> <h2>12.1.2. Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2> <p>Here are open source softwares that use groonga on Travis CI:</p> <blockquote> <div><ul class="simple"> <li><a class="reference external" href="http://groonga.rubyforge.org/#about-rroonga">rroonga</a> (Ruby bindings)<ul> <li><a class="reference external" href="http://travis-ci.org/#!/ranguba/rroonga">rroonga on Travis CI</a></li> <li><a class="reference external" href="https://github.com/ranguba/rroonga/blob/master/.travis.yml">.travis.yml for rroonga</a></li> </ul> </li> <li><a class="reference external" href="http://nroonga.github.com/">nroonga</a> (node.js bindings)<ul> <li><a class="reference external" href="http://travis-ci.org/#!/nroonga/nroonga">nroonga on Travis CI</a></li> <li><a class="reference external" href="https://github.com/nroonga/nroonga/blob/master/.travis.yml">.travis.yml for nroonga</a></li> </ul> </li> <li><a class="reference external" href="http://logaling.github.com/">logaling-command</a> (A glossary management command line tool)<ul> <li><a class="reference external" href="http://travis-ci.org/#!/logaling/logaling-command">logaling-command on Travis CI</a></li> <li><a class="reference external" href="https://github.com/logaling/logaling-command/blob/master/.travis.yml">.travis.yml for logaling-command</a></li> </ul> </li> </ul> </div></blockquote> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="../index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">12.1. Travis CI</a><ul> <li><a class="reference internal" href="#configuration">12.1.1. Configuration</a></li> <li><a class="reference internal" href="#examples">12.1.2. Examples</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="../development.html" title="previous chapter">12. Development</a></p> <h4>Next topic</h4> <p class="topless"><a href="../contribution.html" title="next chapter">13. How to contribute to groonga</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/development/travis-ci.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="../contribution.html" title="13. How to contribute to groonga" >next</a> |</li> <li class="right" > <a href="../development.html" title="12. Development" >previous</a> |</li> <li><a href="../index.html">groonga v3.0.5 documentation</a> »</li> <li><a href="../development.html" >12. Development</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009-2013, Brazil, Inc. </div> </body> </html>