Skip to content

Commit

Permalink
Added coverage report + coveralls and travis badges
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwang committed Apr 3, 2018
1 parent a7e2e5a commit cf18ba1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
CloudLaunch CLI
===============

.. image:: https://travis-ci.org/CloudVE/cloudlaunch-cli.svg?branch=master
:target: https://travis-ci.org/CloudVE/cloudlaunch-cli

.. image:: https://coveralls.io/repos/github/CloudVE/cloudlaunch-cli/badge.svg?branch=master
:target: https://coveralls.io/github/CloudVE/cloudlaunch-cli?branch=master

.. image:: https://img.shields.io/pypi/v/cloudlaunch_cli.svg
:target: https://pypi.python.org/pypi/cloudlaunch_cli
Expand Down
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ commands=flake8 cloudlaunch_cli
setenv =
PYTHONPATH = {toxinidir}

commands = python setup.py test
commands = {envpython} -m coverage run --source . --branch setup.py test

; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
; -r{toxinidir}/requirements.txt
; -r{toxinidir}/requirements_test.txt

deps =
-rrequirements_test.txt

0 comments on commit cf18ba1

Please sign in to comment.