TEST: Add travis tests

This commit is contained in:
Dominique Barton 2019-02-23 18:56:54 +01:00
parent 63d05ef43e
commit 24208b724e
2 changed files with 21 additions and 0 deletions

15
.travis.yml Normal file
View file

@ -0,0 +1,15 @@
language: python
python:
- 2.7
install:
- pip install -e .[develop]
script:
# Code style checks.
- pycodestyle mopidy_pummeluff
- pylint mopidy_pummeluff
# Build check.
- python setup.py build

View file

@ -26,6 +26,12 @@ setup(
'Mopidy >= 2.2.2',
'pi-rc522 == 2.2.1',
],
extras_require={
'develop': [
'pycodestyle',
'pylint',
]
},
entry_points={
b'mopidy.ext': [
'pummeluff = mopidy_pummeluff:Extension',