Travis: use postgresql

This commit is contained in:
Andrew Ekstedt 2016-09-24 13:49:09 -07:00
parent 359204effd
commit 6951fdc199

View file

@ -5,8 +5,14 @@ python:
- "3.5" - "3.5"
- "pypy" - "pypy"
- "pypy3" - "pypy3"
services:
- postgresql
env:
- POKEDEX_DB_ENGINE=postgresql:///pokedex
sudo: false
install: pip install -e . install: pip install -e .
before_script: pokedex setup -v before_script:
- createdb -U postgres pokedex
- pokedex setup -v
script: py.test script: py.test
sudo: false