From f0882c3928d7beaa6b7650a77f542ad00411425b Mon Sep 17 00:00:00 2001 From: willstott101 Date: Wed, 23 Oct 2019 14:30:20 +0100 Subject: [PATCH] Fix travis --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 78238b8..ca36cb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ language: python -addons: - postgresql: "9.3" +services: + - postgresql + - mysql matrix: include: @@ -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