# groonga - An open-source fulltext search engine and column store.

- 日本語版はこちら

### Navigation

- index
- next |
- previous |
- groonga v2.0.5-49-gef0de04 documentation »
- 11. Development »

# 11.1. Travis CI

This section describes about using groonga on Travis CI. Travis CI is a hosted continuous integration service for the open source community.

You can use Travis CI for your open source software. This section only describes about groonga related configuration. See Travis CI: Documentation about general Travis CI.

## 11.1.1. Configuration

Travis CI is running on 32-bit Ubuntu 11.10. (See Travis CI: About Travis CI Environment.) You can use apt-line for Ubuntu 11.10 provided by groonga project to install groonga on Travis CI.

You can custom build lifecycle by `.travis.yml`. (See Travis CI: Conifugration your Travis CI build with .travis.yml.) You can use `before_install` hook or `install` hook. You should use `before_install` if your software uses a language that is supported by Travis CI such as Ruby. You should use `install` otherwise.

Add the following `before_install` configuration to `.travisyml`:

    before_install:
      - echo "deb http://packages.groonga.org/ubuntu/ $(lsb_release --short --codename) universe" | sudo tee /etc/apt/sources.list.d/groonga.list
      - sudo apt-get update
      - sudo apt-get -y --allow-unauthenticated install groonga-keyring
      - sudo apt-get update
      - sudo apt-get -y install libgroonga-dev

If you need to use `install` hook instead of `before_install`, you just substitute `before_install:` with `install:`.

With the above configuration, you can use groonga for your build.

## 11.1.2. Examples

Here are open source softwares that use groonga on Travis CI:

> - rroonga (Ruby bindings)
>   - rroonga on Travis CI
>   - .travis.yml for rroonga
> - nroonga (node.js bindings)
>   - nroonga on Travis CI
>   - .travis.yml for nroonga

### Navigation

- index
- next |
- previous |
- groonga v2.0.5-49-gef0de04 documentation »
- 11. Development »