Travis: use postgresql

This commit is contained in:
Andrew Ekstedt 2016-09-24 13:49:09 -07:00
parent 359204effd
commit 6951fdc199
1 changed files with 8 additions and 2 deletions

View File

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