Merge pull request #193 from loles/fix-coverage

Run py.test from solar dir
This commit is contained in:
Jędrzej Nowak 2015-09-24 16:21:43 +02:00
commit 490e7bd312
2 changed files with 3 additions and 3 deletions

View File

@ -7,4 +7,4 @@ script:
services:
- redis-server
after_success:
cd solar/solar && coveralls
cd solar && coveralls

View File

@ -31,6 +31,6 @@ fi
pip install -r solar/test-requirements.txt --download-cache=/tmp/$JOB_NAME
pushd solar/solar
pushd solar
PYTHONPATH=$WORKSPACE/solar CONFIG_FILE=$CONFIG_FILE py.test --cov=solar -s test/
PYTHONPATH=$WORKSPACE/solar CONFIG_FILE=$CONFIG_FILE py.test --cov=solar -s solar