Skip to content

Commit 7b4b987

Browse files
committed
build: use tox and publish coverage report to coveralls.io
1 parent 97278d8 commit 7b4b987

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.travis.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
language: python
2-
python:
3-
- "2.6"
4-
- "2.7"
52
# command to install dependencies
6-
install: "pip install . unittest2"
7-
# command to run tests
8-
script: nosetests
3+
install:
4+
- pip install tox
5+
- pip install coveralls
6+
# run tests
7+
script:
8+
- tox -e py26
9+
- tox -e py27
10+
after_success:
11+
- tox -e cover
12+
- coveralls

0 commit comments

Comments
 (0)