Skip to content

Commit

Permalink
Merge pull request #12 from uber/coveralls
Browse files Browse the repository at this point in the history
Add coverage and coveralls
  • Loading branch information
ascandella committed Aug 22, 2014
2 parents 32906c6 + e222f8f commit e5904a4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.pyc
*.egg-info
.coverage
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ script: make
branches:
except:
- /^v[0-9]/
after_success: coveralls
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.DEFAULT_GOAL := test

test: clean lint
@py.test -s test/
@py.test --cov app.py -s test/

lint:
@flake8 .
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Example Uber app for developers
==============================

[![TravisCI](https://travis-ci.org/uber/Python-Sample-Application.svg?branch=master)](https://travis-ci.org/uber/Python-Sample-Application)
[![Coverage Status](https://coveralls.io/repos/uber/Python-Sample-Application/badge.png)](https://coveralls.io/r/uber/Python-Sample-Application)

https://developer.uber.com/

Expand Down
3 changes: 3 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ betamax==0.4.0
flake8==2.1.0
pep8==1.5.6
pyflakes==0.8.1

# Coveralls
coveralls==0.4.2

0 comments on commit e5904a4

Please sign in to comment.