Skip to content
This repository was archived by the owner on Jun 26, 2021. It is now read-only.

Commit

Permalink
Update postgresql version
Browse files Browse the repository at this point in the history
  • Loading branch information
typeofweb committed Aug 16, 2019
1 parent 498b9ad commit 10ec38f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ services:
addons:
postgresql: '11'

before_install:
- sudo apt-get update
- sudo apt-get --yes remove postgresql\*
- sudo apt-get install -y postgresql-11 postgresql-client-11
- sudo cp /etc/postgresql/{9.6,11}/main/pg_hba.conf
- sudo service postgresql restart 11

before_script:
- psql -c "CREATE DATABASE test;" -U postgres
- psql --version
- psql -c 'CREATE DATABASE test;' -U postgres
- psql -c 'CREATE ROLE travis SUPERUSER LOGIN CREATEDB;' -U postgres
- psql -c "CREATE USER test WITH PASSWORD 'test';" -U postgres

0 comments on commit 10ec38f

Please sign in to comment.