Skip to content

Commit 54a01de

Browse files
committed
Corrected Travis and Tox configurations
* Removed "coverage combine": it deletes coverage information * Only keep coverage of the javaobj module, ignore the tests module
1 parent e1831b4 commit 54a01de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: python
22
python: 3.5
3+
sudo: false
34

45
env:
56
- TOX_ENV=py27
@@ -19,5 +20,4 @@ script:
1920
- tox -e $TOX_ENV
2021

2122
after_success:
22-
- coverage combine
2323
- coveralls

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ envlist = py26,py27,py33,py34,py35,pypy,pypy3
33

44
[testenv]
55
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
6-
commands = nosetests --with-coverage {posargs} tests
6+
commands = nosetests --with-coverage --cover-package=javaobj {posargs} tests
77
deps =
88
nose
99
coverage

0 commit comments

Comments
 (0)