From 6951fdc1997f730cd1ee14103e87ebda9bac418d Mon Sep 17 00:00:00 2001 From: Andrew Ekstedt Date: Sat, 24 Sep 2016 13:49:09 -0700 Subject: [PATCH] Travis: use postgresql --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index effade5..921839b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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