Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
This commit adds coveralls checking to dict.sorted.
  • Loading branch information
lukesneeringer committed Sep 10, 2013
1 parent 120188b commit 937a7ec
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ language: python
python:
- 3.3
install:
- "pip install tox"
- "pip install --use-mirrors coveralls"
- "pip install --use-mirrors tox"
- "pip install --use-mirrors -r requirements.txt"
script:
- "python setup.py test"
after_success:
- coveralls
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Welcome to dict.sorted

[![Build Status](https://travis-ci.org/lukesneeringer/dict-sorted.png?branch=master)](https://travis-ci.org/lukesneeringer/dict-sorted)
[![Build Status](https://travis-ci.org/lukesneeringer/dict-sorted.png?branch=master)](https://travis-ci.org/lukesneeringer/dict-sorted) [![Coverage](https://coveralls.io/repos/lukesneeringer/dict-sorted/badge.png?branch=master)](https://coveralls.io/r/lukesneeringer/dict-sorted)

The purpose of dict.sorted is to provide `dict` subclasses that will
return keys in a consistent, predictable order.
Expand Down
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[tox]
envlist =
_setup,
py3.3,
py2.7,
py2.6,
Expand All @@ -18,6 +19,14 @@ deps =
coverage>=3.6


[testenv:_setup]
commands =
coverage erase

deps =
coverage


[testenv:py3.3]
basepython = python3.3

Expand Down Expand Up @@ -48,4 +57,3 @@ commands =
coverage combine
coverage report -m
coverage html
coverage erase

0 comments on commit 937a7ec

Please sign in to comment.