Skip to content

Commit 9cdaed0

Browse files
committed
Merge pull request #10 from mattthias/master_run_tox_in_travis
Run tox in travis-ci; add coverage
2 parents 935eedf + ddd872c commit 9cdaed0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
language: python
22
python:
33
- "2.7"
4-
script: python setup.py test
4+
install:
5+
- pip install tox
6+
script: tox

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
2-
envlist = py26,py27,pypy
2+
envlist = py27
33
[testenv]
44
deps=nose
55
mock
66
coverage
7-
commands=nosetests
7+
commands=nosetests --with-coverage --cover-package=oca

0 commit comments

Comments
 (0)