diff --git a/.travis.yml b/.travis.yml index 8215fee..e7bdc38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,9 @@ install: - pip install pytz - pip install tzlocal - pip install dbus-python + - pip install coverage script: - - nosetests -v --with-coverage --cover-erase tests/ + - coverage run -m unittest discover -v - CODECLIMATE_REPO_TOKEN=40cb00907f7a10e04868e856570bb997ab9c42fd3b63d980f2b2269433195fdf codeclimate-test-reporter addons: code_climate: diff --git a/coverage.sh b/coverage.sh index abdd0f4..efb70e8 100755 --- a/coverage.sh +++ b/coverage.sh @@ -1,4 +1,4 @@ #!/bin/bash coverage run -m unittest discover -v -coverage run report +coverage report -m