Install all postgres packages at once
Install all postgres packages at once in order to avoid package configuration issues.
This commit is contained in:
parent
1234bfeb9d
commit
3181c51637
@ -21,11 +21,7 @@ before_install:
|
||||
- sudo apt-get -y --no-install-recommends install python-scikits-learn=0.14.1-3-cdb2
|
||||
|
||||
# Install postgres db and build deps
|
||||
- sudo apt-get -y install postgresql-9.5
|
||||
- sudo apt-get -y install postgresql-server-dev-9.5
|
||||
- sudo apt-get -y install postgresql-plpython-9.5
|
||||
- sudo apt-get -y install postgresql-9.5-postgis-2.2
|
||||
- sudo apt-get -y install postgresql-9.5-postgis-scripts
|
||||
- sudo apt-get -y install postgresql-9.5 postgresql-server-dev-9.5 postgresql-plpython-9.5 postgresql-9.5-postgis-2.2 postgresql-9.5-postgis-scripts
|
||||
|
||||
# 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" \
|
||||
|
Loading…
Reference in New Issue
Block a user