Permalink
Browse files

coverage and pandas in travis builds

  • Loading branch information...
dfm committed May 25, 2016
1 parent dae84db commit cb16dbb922190679fd1dff198bb352c80d20b7be
Showing with 11 additions and 2 deletions.
  1. +4 −0 .coveragerc
  2. +1 −0 .gitignore
  3. +6 −2 .travis.yml
View
@@ -0,0 +1,4 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
View
@@ -6,3 +6,4 @@
dist
build
test_figures
.coverage
View
@@ -18,13 +18,17 @@ install:
- conda update -q conda
- 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
- pip install coveralls
before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
- nosetests corner
- nosetests corner --with-coverage --cover-package=corner
after_success:
- coveralls

0 comments on commit cb16dbb

Please sign in to comment.