How to use PGroonga on Travis CI

You can use PGroonga on Travis CI.

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

Add the following configuration into your .travis.yml:

sudo: required
  - curl --silent --location | 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.