From d828ee9a2ef81a87b1aec4ef716c4c4a3db5fc5e Mon Sep 17 00:00:00 2001 From: Andrew Ekstedt Date: Thu, 21 May 2015 19:41:51 -0700 Subject: [PATCH] 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.) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0f44461..486a594 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,6 @@ python: - "3.4" - "pypy" -install: pip install . +install: pip install -e . before_script: pokedex setup -v script: py.test