From 96c7b762b29d501d6bcea3755035eb1aedd50b67 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sun, 2 Feb 2020 14:06:44 +0100 Subject: [PATCH] [travis] switch to coverage instead of nosetest --- .travis.yml | 3 ++- coverage.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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