[Groonga-commit] pgroonga/pgroonga at 25330fd [master] travis: use addons

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 19 00:25:38 JST 2015


Kouhei Sutou	2015-01-19 00:25:38 +0900 (Mon, 19 Jan 2015)

  New Revision: 25330fd5fcdbbd428c5a397f0df9b642a2ac1eba
  https://github.com/pgroonga/pgroonga/commit/25330fd5fcdbbd428c5a397f0df9b642a2ac1eba

  Message:
    travis: use addons

  Modified files:
    .travis.yml

  Modified: .travis.yml (+3 -7)
===================================================================
--- .travis.yml    2015-01-19 00:13:37 +0900 (dfc9279)
+++ .travis.yml    2015-01-19 00:25:38 +0900 (8808834)
@@ -5,15 +5,11 @@ language: c
 compiler:
   - gcc
   - clang
-env:
-  - PG_VERSION=9.4
+addons:
+  postgresql: "9.4"
 install:
   - curl --silent --location https://github.com/groonga/groonga/raw/master/data/travis/setup.sh | sh
-  - apt-cache search postgresql
-  - dpkg -l | grep postgresql
-  - sudo apt-get purge -qq -y postgresql-server-9.1
-  - sudo apt-get install -qq -y postgresql-server-dev-${PG_VERSION} postgresql-client-${PG_VERSION}
-  - sudo -u postgres -H createuser --superuser $USER
+  - sudo apt-get install -qq -y postgresql-server-dev-all
 before_script:
   - make DEBUG=1
   - sudo make install
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index