Navigation Menu

Skip to content

Commit

Permalink
Pin postgres version in build
Browse files Browse the repository at this point in the history
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 68e962e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -17,6 +17,7 @@ addons:
packages:
- elasticsearch
- openjdk-8-jre-headless
postgresql: "9.6"

services:
- elasticsearch
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
@@ -1,7 +1,7 @@
version: '3'
services:
db:
image: postgres:9
image: postgres:9.6
ports:
- "5432:5432"
cache:
Expand Down

0 comments on commit 68e962e

Please sign in to comment.