Navigation Menu

Skip to content

Commit

Permalink
travis: use addons
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 18, 2015
1 parent 8fd7f8d commit 25330fd
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .travis.yml
Expand Up @@ -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
Expand Down

0 comments on commit 25330fd

Please sign in to comment.