From 7b7891b3900ff74833c65f6da1d0d1b62cdfeb94 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 8 May 2014 12:32:06 +0200 Subject: [PATCH] [Travis] It takes root perms to edit postgresql.conf --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c957008..bbe4140 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,8 @@ before_install: 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 && + - echo "local_preload_libraries = 'schema_triggers.so'" | + sudo tee -a /etc/postgresql/9.3/main/postgresql.conf && sudo service postgresql restart script: