File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,19 @@ if [ -z "${PGVERSION}" ]; then
88fi
99
1010if [[ " ${TRAVIS_OS_NAME} " == " linux" && " ${BUILD} " == * wheels* ]]; then
11- # Allow docker guests to connect to the database
1211 sudo service postgresql stop ${PGVERSION}
13- echo " listen_addresses = '*'" | \
12+
13+ echo " port = 5432" | \
1414 sudo tee --append /etc/postgresql/${PGVERSION} /main/postgresql.conf
15- echo " host all all 172.17.0.0/16 trust" | \
16- sudo tee --append /etc/postgresql/${PGVERSION} /main/pg_hba.conf
15+
16+ if [[ " ${BUILD} " == * wheels* ]]; then
17+ # Allow docker guests to connect to the database
18+ echo " listen_addresses = '*'" | \
19+ sudo tee --append /etc/postgresql/${PGVERSION} /main/postgresql.conf
20+ echo " host all all 172.17.0.0/16 trust" | \
21+ sudo tee --append /etc/postgresql/${PGVERSION} /main/pg_hba.conf
22+ fi
23+
1724 sudo service postgresql start ${PGVERSION}
1825fi
1926
You can’t perform that action at this time.
0 commit comments