Skip to content

Commit

Permalink
...and with postgres 11
Browse files Browse the repository at this point in the history
  • Loading branch information
zingmane committed Mar 27, 2019
1 parent 8e47031 commit 293eda5
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,25 @@ cache:
- $HOME/.gradle
matrix:
include:
- name: "Test with postgresql 10"
- name: "Test with postgresql 10.7"
addons:
postgresql: "10"
postgresql: "10.7"
apt:
packages:
- postgresql-10
- postgresql-client-10
before_install:
- sudo cp /etc/postgresql/{9.6,10}/main/pg_hba.conf
- sudo /etc/init.d/postgresql restart
- name: "Test with postgresql 11.2"
addons:
postgresql: "11.2"
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
install: /bin/true
before_script:
- psql -c 'SHOW SERVER_VERSION;' -U postgres
Expand Down

0 comments on commit 293eda5

Please sign in to comment.