diff --git a/.travis.yml b/.travis.yml index a7a3cbf..d477a07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ matrix: before_install: - sudo bash $TRAVIS_BUILD_DIR/scripts/ci/install_postgres.sh + - sudo make clean-all install: - sudo make install diff --git a/scripts/ci/install_postgres.sh b/scripts/ci/install_postgres.sh index 9ea6676..561e050 100644 --- a/scripts/ci/install_postgres.sh +++ b/scripts/ci/install_postgres.sh @@ -32,6 +32,8 @@ apt-get -y install postgresql-${PGSQL_VERSION} postgresql-${PGSQL_VERSION}-postg # Configure it to accept local connections from postgres echo -e "# TYPE DATABASE USER ADDRESS METHOD \nlocal all postgres trust\nlocal all all trust\nhost all all 127.0.0.1/32 trust" > /etc/postgresql/${PGSQL_VERSION}/main/pg_hba.conf +psql -c "CREATE LANGUAGE plpythonu;" + # Restart PostgreSQL /etc/init.d/postgresql restart ${PGSQL_VERSION}