Kouhei Sutou
null+****@clear*****
Sun Oct 25 22:49:44 JST 2015
Kouhei Sutou 2015-10-25 22:49:44 +0900 (Sun, 25 Oct 2015) New Revision: 8945bc9e6a6ab5ea0bc9c511b19b32c8c3f2e163 https://github.com/pgroonga/pgroonga.github.io/commit/8945bc9e6a6ab5ea0bc9c511b19b32c8c3f2e163 Message: Add how to use PGroonga on Travis CI Added files: _po/ja/how-to/travis-ci.po how-to/travis-ci.md ja/how-to/travis-ci.md Modified files: _po/ja/how-to/index.po how-to/index.md ja/how-to/index.md Modified: _po/ja/how-to/index.po (+7 -1) =================================================================== --- _po/ja/how-to/index.po 2015-10-25 22:37:00 +0900 (eedb7cc) +++ _po/ja/how-to/index.po 2015-10-25 22:49:44 +0900 (134f69e) @@ -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" @@ -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 "" Added: _po/ja/how-to/travis-ci.po (+55 -0) 100644 =================================================================== --- /dev/null +++ _po/ja/how-to/travis-ci.po 2015-10-25 22:49:44 +0900 (88bfaed) @@ -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を使える状態になっているということです。" Modified: how-to/index.md (+4 -0) =================================================================== --- how-to/index.md 2015-10-25 22:37:00 +0900 (b19888c) +++ how-to/index.md 2015-10-25 22:49:44 +0900 (65f1c82) @@ -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) + ## ... * ... Added: how-to/travis-ci.md (+22 -0) 100644 =================================================================== --- /dev/null +++ how-to/travis-ci.md 2015-10-25 22:49:44 +0900 (effd641) @@ -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. Modified: ja/how-to/index.md (+4 -0) =================================================================== --- ja/how-to/index.md 2015-10-25 22:37:00 +0900 (a269e2c) +++ ja/how-to/index.md 2015-10-25 22:49:44 +0900 (fcd43de) @@ -14,6 +14,10 @@ layout: ja * Ruby on Railsと一緒に使う方法:TODO * ... +## 継続的インテグレーション(CI) + + * [Travis CI上でPGroongaを使う方法](travis-ci.html) + ## ... * ... Added: ja/how-to/travis-ci.md (+22 -0) 100644 =================================================================== --- /dev/null +++ ja/how-to/travis-ci.md 2015-10-25 22:49:44 +0900 (8911449) @@ -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を使える状態になっているということです。 -------------- next part -------------- HTML����������������������������...Download