Skip to content

Commit cbae83a

Browse files
committed
Merge pull request #58 from dejacode/automated_coverage
Automated coverage
2 parents 27afc3f + 350e3ab commit cbae83a

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,11 @@ language: python
22
python:
33
- "2.6"
44
- "2.7"
5-
install: "pip install -r requirements.txt --use-mirrors"
6-
script: python setup.py test
5+
install:
6+
- "pip install -r requirements.txt --use-mirrors"
7+
- "pip install coverage"
8+
- "pip install coveralls"
9+
script:
10+
- "coverage run --source=about_code_tool setup.py test"
11+
after_success:
12+
coveralls

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ ABOUT tool
44
.. image:: https://travis-ci.org/dejacode/about-code-tool.png?branch=master
55
:target: https://travis-ci.org/dejacode/about-code-tool
66

7+
.. image:: https://coveralls.io/repos/dejacode/about-code-tool/badge.png
8+
:target: https://coveralls.io/r/dejacode/about-code-tool
9+
710
The ABOUT tool and ABOUT files provide a simple way to document the
811
(origin and license) and other important or interesting information about
912
third-party software components that you use in your project.

0 commit comments

Comments
 (0)