Skip to content

Commit

Permalink
coverage and pandas in travis builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed May 25, 2016
1 parent dae84db commit cb16dbb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
@@ -0,0 +1,4 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,3 +6,4 @@
dist dist
build build
test_figures test_figures
.coverage
8 changes: 6 additions & 2 deletions .travis.yml
Expand Up @@ -18,13 +18,17 @@ install:
- conda update -q conda - conda update -q conda
- conda info -a - conda info -a


- conda create --yes -n test python=$PYTHON_VERSION matplotlib=$MATPLOTLIB_VERSION numpy scipy nose setuptools - conda create --yes -n test python=$PYTHON_VERSION matplotlib=$MATPLOTLIB_VERSION numpy scipy nose setuptools pandas
- source activate test - source activate test
- pip install coveralls


before_script: # configure a headless display to test plot generation before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0" - "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start" - "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start - sleep 3 # give xvfb some time to start


script: script:
- nosetests corner - nosetests corner --with-coverage --cover-package=corner

after_success:
- coveralls

0 comments on commit cb16dbb

Please sign in to comment.