Skip to content

Commit

Permalink
MAINT: fix runtests & travis --coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
pv committed Jul 21, 2017
1 parent a27506f commit 9318aed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ after_success:
# Upload coverage information
- if [ "${COVERAGE}" == "--coverage" ]; then
pushd build/testenv/lib/python*/site-packages/;
cp ../../../../test/.coverage .;
codecov;
popd;
fi
Expand Down
3 changes: 1 addition & 2 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ def main(argv):
fn = os.path.join(dst_dir, 'coverage_html.js')
if os.path.isdir(dst_dir) and os.path.isfile(fn):
shutil.rmtree(dst_dir)
extra_argv += ['--cover-html',
'--cover-html-dir='+dst_dir]
extra_argv += ['--cov-report=html:' + dst_dir]

if args.refguide_check:
cmd = [os.path.join(ROOT_DIR, 'tools', 'refguide_check.py'),
Expand Down

0 comments on commit 9318aed

Please sign in to comment.