mirror of
https://github.com/undera/pylgbst.git
synced 2020-11-18 19:37:26 -08:00
* Introduce driver that works with Bleak, enables to use BLE devices in windows without a need of external BLE dongle. * Fix issues in auto review. * Add method description and UT. * Fix docstring to comply with pep257 * Experiment * Make test only work in 3.7+ * Fix versions * One more try * Kick it * Kick * cmon * Dummm * yeah yeah * Add * Fix version Co-authored-by: mgr <tomekmgr@gmail.com>
38 lines
855 B
YAML
38 lines
855 B
YAML
sudo: false
|
|
language: python
|
|
python:
|
|
- 3.6
|
|
- 3.8
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libboost-python-dev
|
|
- libboost-thread-dev
|
|
- libbluetooth-dev
|
|
|
|
- libglib2.0-dev
|
|
- libdbus-1-dev
|
|
- libdbus-glib-1-dev
|
|
- libgirepository-1.0-1
|
|
- libgirepository1.0-dev
|
|
|
|
- bluez
|
|
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 codacy-coverage nose-exclude pygatt gatt pexpect bluepy bleak packaging dbus-python pygobject
|
|
- pip install --upgrade attrs
|
|
|
|
env:
|
|
- READTHEDOCS=True
|
|
|
|
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
|