Skip to content

Commit

Permalink
BF: since we are testing installed version, do not omit /usr but rath…
Browse files Browse the repository at this point in the history
…er include all statsmodels packages into coverage
  • Loading branch information
yarikoptic committed Sep 12, 2013
1 parent f0ae5ed commit d11bf99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -55,6 +55,6 @@ script:
- pwd
# Compose a script to run testing with coverage
- echo 'import statsmodels as sm; a=sm.test(); import sys; sys.exit((len(a.failures)+len(a.errors))>0)' > test.py
- if [ "${PYSUF}" != "3" ]; then coverage run --rcfile=.travis_coveragerc test.py; else $PYTHON test.py; fi
- if [ "${PYSUF}" != "3" ]; then coverage run --rcfile=${SRCDIR}/.travis_coveragerc test.py; else $PYTHON test.py; fi
after_success:
- if [ "${PYSUF}" != "3" ]; then coveralls; fi
5 changes: 2 additions & 3 deletions .travis_coveragerc
@@ -1,6 +1,5 @@

[run]
branch = True
omit =
/usr/*
/home/travis/virtualenv/*
include =
/usr/local/lib/python*/*-packages/statsmodels*

0 comments on commit d11bf99

Please sign in to comment.