Travis: Install pokedex with pip install -e .

I would explain why, but this commit will eventually be squashed into the other
ones so there's no point.

(Short explanation: without -e, the database location defaults to
$ENV/lib/python2.7/site-packages/pokedex/data/pokedex.sqlite when running the
pokedex command, but when running py.test it defaulted to
./pokedex/data/pokedex.sqlite, which obviously caused problems.)
This commit is contained in:
Andrew Ekstedt 2015-05-21 19:41:51 -07:00
parent 7048bac38e
commit d828ee9a2e

View file

@ -4,6 +4,6 @@ python:
- "3.4" - "3.4"
- "pypy" - "pypy"
install: pip install . install: pip install -e .
before_script: pokedex setup -v before_script: pokedex setup -v
script: py.test script: py.test