mirror of
https://github.com/undera/pylgbst.git
synced 2020-11-18 19:37:26 -08:00
experiment with codacy
This commit is contained in:
parent
ff51129247
commit
fef871946a
@ -29,11 +29,14 @@ addons:
|
|||||||
install:
|
install:
|
||||||
- wget https://github.com/labapart/gattlib/releases/download/dev/gattlib_dbus_0.2-dev_x86_64.deb
|
- 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
|
- 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:
|
after_success:
|
||||||
- coverage report -m
|
- coverage report -m
|
||||||
|
- coverage xml
|
||||||
- codecov
|
- codecov
|
||||||
|
- python-codacy-coverage -r coverage.xml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user