Skip to content

Commit

Permalink
travis: use psycopg2cffi driver since pg8000 fails on some cases when…
Browse files Browse the repository at this point in the history
… passing literal columns
  • Loading branch information
ergo committed Oct 23, 2016
1 parent d354086 commit a84473f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ matrix:
env: BCRYPT="enabled" DB_STRING="postgres://postgres@127.0.0.1:5432/test"

- python: "pypy"
env: PYBCRYPT="enabled" DB_STRING="postgresql+pg8000://postgres@127.0.0.1:5432/test"
env: PYBCRYPT="enabled" DB_STRING="postgresql+psycopg2cffi://postgres@127.0.0.1:5432/test"

- python: "pypy3"
env: PYBCRYPT="enabled" DB_STRING="postgresql+pg8000://postgres@127.0.0.1:5432/test"
env: PYBCRYPT="enabled" DB_STRING="postgresql+psycopg2cffi://postgres@127.0.0.1:5432/test"

services:
- postgresql
Expand All @@ -49,7 +49,7 @@ script:
- if [ -n "$BCRYPT" ]; then pip install bcrypt; fi
- if [ -n "$PYBCRYPT" ]; then pip install py-bcrypt; fi
- if [ -n "$BCRYPT" ]; then pip install psycopg2; fi
- if [ -n "$PYBCRYPT" ]; then pip install pg8000; fi
- if [ -n "$PYBCRYPT" ]; then pip install psycopg2cffi; fi
- py.test ziggurat_foundations/tests/

# flake8 and rstcheck
Expand Down

0 comments on commit a84473f

Please sign in to comment.