Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > e450e7f3d6075c4a54de19e68d38177f > files > 557

groonga-doc-3.0.5-1.fc18.x86_64.rpm


<!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 &mdash; groonga v3.0.5ドキュメント</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>
    <script type="text/javascript" src="../_static/translations.js"></script>
    <link rel="shortcut icon" href="../_static/favicon.ico"/>
    <link rel="top" title="groonga v3.0.5ドキュメント" href="../index.html" />
    <link rel="up" title="12. 開発" href="../development.html" />
    <link rel="next" title="13. groongaへのコントリビュート方法" href="../contribution.html" />
    <link rel="prev" title="12. 開発" 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">オープンソースのカラムストア機能付き全文検索エンジン</span>
    </a>
  </h1>

  <div class="other-language-links">
    <ul>
      <li><a href="../../../en/html/development/travis-ci.html"><img src="../_static/us.png" alt="English">English page</a></li>
    </ul>
  </div>
</div>
  

    <div class="related">
      <h3>ナビゲーション</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="総合索引"
             accesskey="I">索引</a></li>
        <li class="right" >
          <a href="../contribution.html" title="13. groongaへのコントリビュート方法"
             accesskey="N">次へ</a> |</li>
        <li class="right" >
          <a href="../development.html" title="12. 開発"
             accesskey="P">前へ</a> |</li>
        <li><a href="../index.html">groonga v3.0.5ドキュメント</a> &raquo;</li>
          <li><a href="../development.html" accesskey="U">12. 開発</a> &raquo;</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="このヘッドラインへのパーマリンク">¶</a></h1>
<p>このセクションでは <a class="reference external" href="http://travis-ci.org/">Travis CI</a> 上でgroongaを使う方法について説明します。Travis CIはオープンソースコミュニティ用の継続的インテグレーション(CI)サービスです。</p>
<p>オープンソースソフトウェアを開発しているならTravis CIを使えます。このセクションではgroonga関連の設定のみ説明します。Travis CI一般については <a class="reference external" href="http://about.travis-ci.org/docs/">Travis CI: Documentation</a> を読んでください。</p>
<div class="section" id="configuration">
<h2>12.1.1. 設定<a class="headerlink" href="#configuration" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p>Travis CIは32-bit版のUbuntu 11.10を使っています。( <a class="reference external" href="http://about.travis-ci.org/docs/user/ci-environment/">Travis CI: About Travis CI Environment</a> 参照。)Travis CIにgroongaをインストールするために、groongaプロジェクトが提供しているUbuntu 11.10用のapt-lineを使えます。</p>
<p><tt class="docutils literal"><span class="pre">.travis.yml</span></tt> でビルド方法を変更することができます。( <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> 参照。) <tt class="docutils literal"><span class="pre">before_install</span></tt> フックまたは <tt class="docutils literal"><span class="pre">install</span></tt> フックを使います。もし、Travis CIがサポートしている言語(例えばRuby)を使ったソフトウェアの場合は <tt class="docutils literal"><span class="pre">before_install</span></tt> を使います。そうでない場合は <tt class="docutils literal"><span class="pre">install</span></tt> を使います。</p>
<p>以下の <tt class="docutils literal"><span class="pre">before_install</span></tt> の設定を <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><tt class="docutils literal"><span class="pre">before_install</span></tt> フックではなく <tt class="docutils literal"><span class="pre">install</span></tt> フックを使わなければいけない場合は、単に <tt class="docutils literal"><span class="pre">before_install:</span></tt> を <tt class="docutils literal"><span class="pre">install:</span></tt> に書き換えてください。</p>
<p>上記の設定でビルド中にgroongaを使えるようになります。</p>
</div>
<div class="section" id="examples">
<h2>12.1.2. 例<a class="headerlink" href="#examples" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p>Travis CI上でgroongaを使っているオープンソースソフトウェアは以下の通りです</p>
<blockquote>
<div><ul class="simple">
<li><p class="first"><a class="reference external" href="http://groonga.rubyforge.org/#about-rroonga">rroonga</a> (Rubyバインディング)</p>
<ul>
<li><p class="first"><a class="reference external" href="http://travis-ci.org/#!/ranguba/rroonga">Travis CIでのrroongaのビルド結果</a></p>
</li>
<li><p class="first"><a class="reference external" href="https://github.com/ranguba/rroonga/blob/master/.travis.yml">rroonga用の.travis.yml</a></p>
</li>
</ul>
</li>
<li><p class="first"><a class="reference external" href="http://nroonga.github.com/">nroonga</a> (node.jsバインディング)</p>
<ul>
<li><p class="first"><a class="reference external" href="http://travis-ci.org/#!/nroonga/nroonga">Travis CIでのnroongaのビルド結果</a></p>
</li>
<li><p class="first"><a class="reference external" href="https://github.com/nroonga/nroonga/blob/master/.travis.yml">nroonga用の.travis.yml</a></p>
</li>
</ul>
</li>
<li><a class="reference external" href="http://logaling.github.com/">logaling-command</a> (A glossary management command line tool)<ul>
<li><p class="first"><a class="reference external" href="http://travis-ci.org/#!/logaling/logaling-command">Travis CIでのlogaling-commandのビルド結果</a></p>
</li>
<li><p class="first"><a class="reference external" href="https://github.com/logaling/logaling-command/blob/master/.travis.yml">logaling-command用の.travis.yml</a></p>
</li>
</ul>
</li>
</ul>
</div></blockquote>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../index.html">目次</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. 設定</a></li>
<li><a class="reference internal" href="#examples">12.1.2. 例</a></li>
</ul>
</li>
</ul>

  <h4>前のトピックへ</h4>
  <p class="topless"><a href="../development.html"
                        title="前の章へ">12. 開発</a></p>
  <h4>次のトピックへ</h4>
  <p class="topless"><a href="../contribution.html"
                        title="次の章へ">13. groongaへのコントリビュート方法</a></p>
  <h3>このページ</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/development/travis-ci.txt"
           rel="nofollow">ソースコードを表示</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>クイック検索</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="検索" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    モジュール、クラス、または関数名を入力してください
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>ナビゲーション</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="総合索引"
             >索引</a></li>
        <li class="right" >
          <a href="../contribution.html" title="13. groongaへのコントリビュート方法"
             >次へ</a> |</li>
        <li class="right" >
          <a href="../development.html" title="12. 開発"
             >前へ</a> |</li>
        <li><a href="../index.html">groonga v3.0.5ドキュメント</a> &raquo;</li>
          <li><a href="../development.html" >12. 開発</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2009-2013, Brazil, Inc.
    </div>
  </body>
</html>