Skip to content

Commit e222f8f

Browse files
author
Aiden Scandella
committedAug 22, 2014
Add coverage and coveralls
1 parent 32906c6 commit e222f8f

File tree

5 files changed

+7
-1
lines changed

5 files changed

+7
-1
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.pyc
22
*.egg-info
3+
.coverage

‎.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ script: make
44
branches:
55
except:
66
- /^v[0-9]/
7+
after_success: coveralls

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.DEFAULT_GOAL := test
33

44
test: clean lint
5-
@py.test -s test/
5+
@py.test --cov app.py -s test/
66

77
lint:
88
@flake8 .

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Example Uber app for developers
22
==============================
33

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

67
https://developer.uber.com/
78

‎requirements-test.txt

+3
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ betamax==0.4.0
1111
flake8==2.1.0
1212
pep8==1.5.6
1313
pyflakes==0.8.1
14+
15+
# Coveralls
16+
coveralls==0.4.2

0 commit comments

Comments
 (0)
Please sign in to comment.