Skip to content

Commit

Permalink
[#1337] fix travis tests for postgres 8.4
Browse files Browse the repository at this point in the history
force config to use port 5432
  • Loading branch information
joetsoi committed Nov 25, 2013
1 parent a7b046d commit 1048efa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/travis-install-dependencies
Expand Up @@ -16,6 +16,12 @@ fi
sudo apt-get update -qq
sudo apt-get install postgresql-$PGVERSION solr-jetty libcommons-fileupload-java:amd64=1.2.2-1

if [ $PGVERSION == '8.4' ]
then
# force postgres to use 5432 as it's port
sudo sed -i -e 's/port = 5433/port = 5432/g' /etc/postgresql/8.4/main/postgresql.conf
fi

sudo service postgresql restart

# Setup postgres' users and databases
Expand Down

0 comments on commit 1048efa

Please sign in to comment.