Skip to content

Commit

Permalink
CI: Add coverage to automated testing and coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdill committed May 18, 2016
1 parent 00c0113 commit 2272715
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@ python:
install:
- pip install numpy
- pip install nose
script: nosetests
- pip install coverage
- pip install codecov

script:
- nosetests --with-coverage --cover-package=emcee -sv

after_success:
- codecov
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ emcee
:target: https://github.com/dfm/emcee/blob/master/LICENSE
.. image:: http://img.shields.io/badge/arXiv-1202.3665-orange.svg?style=flat
:target: http://arxiv.org/abs/1202.3665
.. image:: https://codecov.io/gh/dfm/emcee/branch/master/graph/badge.svg
:target: https://codecov.io/gh/dfm/emcee

emcee is a stable, well tested Python implementation of the affine-invariant
ensemble sampler for Markov chain Monte Carlo (MCMC)
Expand Down

0 comments on commit 2272715

Please sign in to comment.