Skip to content

Commit

Permalink
Fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
willstott101 committed Oct 23, 2019
1 parent 7b580af commit f0882c3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
language: python

addons:
postgresql: "9.3"
services:
- postgresql
- mysql

matrix:
include:
Expand Down Expand Up @@ -72,7 +73,7 @@ matrix:
install:
- "pip install -q Django==$DJANGO_VERSION"
- "if [[ $DB == mysql ]]; then pip install -q mysqlclient; fi"
- "if [[ $DB == postgres ]]; then pip install -q psycopg2; fi"
- "if [[ $DB == postgres ]]; then pip install -q psycopg2-binary; fi"

before_script:
- psql -c 'create database django_positions;' -U postgres
Expand Down

0 comments on commit f0882c3

Please sign in to comment.