Skip to content
Permalink
Browse files

Pin postgres version in build

Fixes in rails 6 update:
Your version of PostgreSQL (90224) is too old. Active Record supports
PostgreSQL >= 9.3.

travis seems to be running multiple postgres versions by default.
  • Loading branch information...
sonalkr132 committed Jun 18, 2019
1 parent 62b7074 commit 68e962e75a49efb70bc49055fad012b8d645b3c3
Showing with 2 additions and 1 deletion.
  1. +1 −0 .travis.yml
  2. +1 −1 docker-compose.yml
@@ -17,6 +17,7 @@ addons:
packages:
- elasticsearch
- openjdk-8-jre-headless
postgresql: "9.6"

services:
- elasticsearch
@@ -1,7 +1,7 @@
version: '3'
services:
db:
image: postgres:9
image: postgres:9.6
ports:
- "5432:5432"
cache:

0 comments on commit 68e962e

Please sign in to comment.
You can’t perform that action at this time.