diff --git a/.travis.yml b/.travis.yml index 0fc4aaf..c3b7a23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,11 +29,14 @@ addons: install: - wget https://github.com/labapart/gattlib/releases/download/dev/gattlib_dbus_0.2-dev_x86_64.deb - sudo dpkg -i gattlib_dbus_0.2-dev_x86_64.deb - - pip install codecov nose-exclude pygatt gatt pexpect bluepy + - pip install codecov codacy-coverage nose-exclude pygatt gatt pexpect bluepy -script: coverage run --omit="examples/*" --source=. -m nose tests -v --exclude-dir=examples +script: + - coverage run --omit="examples/*" --source=. -m nose tests -v --exclude-dir=examples after_success: - coverage report -m + - coverage xml - codecov + - python-codacy-coverage -r coverage.xml