Skip to content

Commit

Permalink
Setup code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Achard committed Jul 19, 2019
1 parent 2dbc2cf commit 58538a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ install:
- wget https://mediaarea.net/repo/deb/repo-mediaarea_1.0-9_all.deb && sudo dpkg -i repo-mediaarea_1.0-9_all.deb
- sudo apt-get update && sudo apt-get install asdcplib mediainfo sox
# python environment
- pip install pipenv
- pip install pipenv codecov
- pipenv install --dev
- pipenv graph
# - pipenv check

after_success:
- codecov

# This belong to default stage 'test'
script:
- pipenv run python -m compileall clairmeta
Expand Down
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
|Build Status| |PyPI version|
|Build Status| |PyPI version| |Code coverage|

Clairmeta
=========
Expand Down Expand Up @@ -220,3 +220,5 @@ http://www.ymagis.com/
:target: https://travis-ci.org/Ymagis/ClairMeta
.. |PyPI version| image:: https://badge.fury.io/py/clairmeta.svg
:target: https://badge.fury.io/py/clairmeta
.. |Code coverage| image:: https://codecov.io/gh/Ymagis/ClairMeta/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/Ymagis/ClairMeta

0 comments on commit 58538a0

Please sign in to comment.