23 lines
719 B
YAML
23 lines
719 B
YAML
language: c
|
|
|
|
addons:
|
|
postgresql: 9.3
|
|
|
|
before_install:
|
|
#- sudo apt-get install -q postgresql-9.3-postgis-2.1
|
|
- sudo apt-get install -q postgresql-server-dev-9.3
|
|
- ls /etc/init /etc/init.d | grep postgres
|
|
# Install schema_triggers
|
|
- hg clone https://bitbucket.org/malloclabs/pg_schema_triggers &&
|
|
cd pg_schema_triggers && make && sudo make install && cd -
|
|
# Preload schema_triggers module
|
|
# NOTE: might change if we make it part of the installcheck instead
|
|
- echo "local_preload_libraries = 'schema_triggers.so'" >>
|
|
/etc/postgresql/9.3/main/postgresql.conf &&
|
|
sudo service postgresql restart
|
|
|
|
script:
|
|
- make
|
|
- sudo make install
|
|
- make installcheck || { cat regression.diffs; false; }
|