Fix travis problem showing regression diffs

This commit is contained in:
Mario de Frutos 2018-02-15 18:30:57 +01:00 committed by Juan Ignacio Sánchez Lara
parent 2183b7fc26
commit e469fb7920

View File

@ -1,5 +1,6 @@
language: c language: c
dist: precise group: travis_stable
sudo: required
env: env:
global: global:
@ -31,8 +32,7 @@ before_install:
- sudo apt-get -y install postgresql-9.5-postgis-2.2=2.2.2.0-cdb2 - sudo apt-get -y install postgresql-9.5-postgis-2.2=2.2.2.0-cdb2
# configure it to accept local connections from postgres # 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" \ - echo -e "# TYPE DATABASE USER ADDRESS METHOD \nlocal all postgres trust\nlocal all all trust\nhost all all 127.0.0.1/32 trust" \ | sudo tee /etc/postgresql/9.5/main/pg_hba.conf
| sudo tee /etc/postgresql/9.5/main/pg_hba.conf
- sudo /etc/init.d/postgresql restart 9.5 - sudo /etc/init.d/postgresql restart 9.5
install: install:
@ -40,4 +40,4 @@ install:
script: script:
- cd src/pg - cd src/pg
- make test || { cat src/pg/test/regression.diffs; false; } - make test || { cat $TRAVIS_BUILD_DIR/src/pg/test/regression.diffs; false; }