mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Travis: use postgresql
This commit is contained in:
parent
359204effd
commit
6951fdc199
1 changed files with 8 additions and 2 deletions
10
.travis.yml
10
.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
|
||||
|
|
Loading…
Reference in a new issue