Skip to content

Commit

Permalink
Merge pull request #193 from loles/fix-coverage
Browse files Browse the repository at this point in the history
Run py.test from solar dir
  • Loading branch information
pigmej committed Sep 24, 2015
2 parents 2035987 + fe661ef commit 490e7bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ script:
services:
- redis-server
after_success:
cd solar/solar && coveralls
cd solar && coveralls
4 changes: 2 additions & 2 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 490e7bd

Please sign in to comment.