Skip to content

Commit

Permalink
Report test coverage to coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Nov 5, 2016
1 parent d249764 commit ab902d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ install:
- rm -rf ${CONDA_INSTALL_LOCN}/pkgs && ln -s ${HOME}/cache/pkgs ${CONDA_INSTALL_LOCN}/pkgs

# Now do the things we need to do to install it.
- conda install --file requirements.txt coverage=3 mock python=${PYTHON} setuptools=23.0.0 ${CONDA_PKGS} --yes --quiet -c conda-forge
- conda install --file requirements.txt coverage=3 coveralls mock python=${PYTHON} setuptools=23.0.0 ${CONDA_PKGS} --yes --quiet -c conda-forge
- python setup.py install

script:
- coverage erase
- coverage run --source . setup.py test
- coverage report

after_success:
- coveralls

# We store the files that are downloaded from continuum.io, but not the environments that are created.
cache:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Overview
+ Connect the repo to the CI services travis-ci.org, appveyor.com, circleci.com

[![Build Status](https://travis-ci.org/conda-forge/conda-smithy.svg)](https://travis-ci.org/conda-forge/conda-smithy)
[![Coverage Status](https://coveralls.io/repos/github/conda-forge/conda-smithy/badge.svg?branch=master)](https://coveralls.io/github/conda-forge/conda-smithy?branch=master)

Installation
------------
Expand Down

0 comments on commit ab902d8

Please sign in to comment.