Navigation Menu

Skip to content

Commit

Permalink
Add how to use PGroonga on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 25, 2015
1 parent d5b789c commit 8945bc9
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 1 deletion.
8 changes: 7 additions & 1 deletion _po/ja/how-to/index.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2015-10-15 11:55+0900\n"
"PO-Revision-Date: 2015-10-25 22:49+0900\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -43,6 +43,12 @@ msgstr ""
" * Ruby on Railsと一緒に使う方法:TODO\n"
" * ..."

msgid "## Continuous integration"
msgstr "## 継続的インテグレーション(CI)"

msgid " * [How to use PGroonga on Travis CI](travis-ci.html)"
msgstr " * [Travis CI上でPGroongaを使う方法](travis-ci.html)"

msgid "## ..."
msgstr ""

Expand Down
55 changes: 55 additions & 0 deletions _po/ja/how-to/travis-ci.po
@@ -0,0 +1,55 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2015-10-25 22:48+0900\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"

msgid ""
"---\n"
"title: How to use PGroonga on Travis CI\n"
"layout: en\n"
"---"
msgstr ""
"---\n"
"title: Travis CI上でPGroongaを使う方法\n"
"layout: ja\n"
"---"

msgid "# How to use PGroonga on Travis CI"
msgstr "# Travis CI上でPGroongaを使う方法"

msgid "You can use PGroonga on [Travis CI](https://travis-ci.org/)."
msgstr "[Travis CI](https://travis-ci.org/)上でPGroongaを使うことができます。"

msgid "PGroonga provides shell script to set up PGroonga on Travis CI."
msgstr "PGroongaはTravis CI上でPGroongaをセットアップするシェルスクリプトを提供しています。"

msgid "Add the following configuration into your `.travis.yml`:"
msgstr "`.travis.yml`に次の設定を追加してください。"

msgid ""
"```yaml\n"
"sudo: required\n"
"install:\n"
" - curl --silent --location https://github.com/pgroonga/pgroonga/raw/master/d"
"ata/travis/setup.sh | sh\n"
"```"
msgstr ""

msgid ""
"`sudo: required` is important. The setup script uses `sudo`. So `sudo: require"
"d` is required."
msgstr ""
"`sudo: required`は重要です。このセットアップスクリプトは`sudo`を使っています。そのため、`sudo: required`が必要なのです"
"。"

msgid ""
"The setup script runs `CREATE EXTENSION pgroonga` against `template1` database"
". It means that you can use PGroonga without any instruction on new database."
msgstr ""
"このセットアップスクリプトは`template1`データベースに対して`CREATE EXTENSION pgroonga`を実行します。これは新しいデータ"
"ベースを作成したら何もしなくてもPGroongaを使える状態になっているということです。"
4 changes: 4 additions & 0 deletions how-to/index.md
Expand Up @@ -14,6 +14,10 @@ If you have useful information that isn't listed in this page, please send a pul
* How to use with Ruby on Rails: TODO
* ...

## Continuous integration

* [How to use PGroonga on Travis CI](travis-ci.html)

## ...

* ...
22 changes: 22 additions & 0 deletions how-to/travis-ci.md
@@ -0,0 +1,22 @@
---
title: How to use PGroonga on Travis CI
layout: en
---

# How to use PGroonga on Travis CI

You can use PGroonga on [Travis CI](https://travis-ci.org/).

PGroonga provides shell script to set up PGroonga on Travis CI.

Add the following configuration into your `.travis.yml`:

```yaml
sudo: required
install:
- curl --silent --location https://github.com/pgroonga/pgroonga/raw/master/data/travis/setup.sh | sh
```

`sudo: required` is important. The setup script uses `sudo`. So `sudo: required` is required.

The setup script runs `CREATE EXTENSION pgroonga` against `template1` database. It means that you can use PGroonga without any instruction on new database.
4 changes: 4 additions & 0 deletions ja/how-to/index.md
Expand Up @@ -14,6 +14,10 @@ layout: ja
* Ruby on Railsと一緒に使う方法:TODO
* ...

## 継続的インテグレーション(CI)

* [Travis CI上でPGroongaを使う方法](travis-ci.html)

## ...

* ...
22 changes: 22 additions & 0 deletions ja/how-to/travis-ci.md
@@ -0,0 +1,22 @@
---
title: Travis CI上でPGroongaを使う方法
layout: ja
---

# Travis CI上でPGroongaを使う方法

[Travis CI](https://travis-ci.org/)上でPGroongaを使うことができます。

PGroongaはTravis CI上でPGroongaをセットアップするシェルスクリプトを提供しています。

`.travis.yml`に次の設定を追加してください。

```yaml
sudo: required
install:
- curl --silent --location https://github.com/pgroonga/pgroonga/raw/master/data/travis/setup.sh | sh
```

`sudo: required`は重要です。このセットアップスクリプトは`sudo`を使っています。そのため、`sudo: required`が必要なのです。

このセットアップスクリプトは`template1`データベースに対して`CREATE EXTENSION pgroonga`を実行します。これは新しいデータベースを作成したら何もしなくてもPGroongaを使える状態になっているということです。

0 comments on commit 8945bc9

Please sign in to comment.