.travis.yml 286 B

123456789101112131415
  1. sudo: false
  2. matrix:
  3. fast_finish: true
  4. include:
  5. - python: '3.5'
  6. env: TOXENV=lint
  7. cache:
  8. directories:
  9. - "$HOME/.cache/pip"
  10. install:
  11. - pip install flake8 pylint bluepy
  12. language: python
  13. script:
  14. - flake8 switchbot --max-line-length=120
  15. - pylint switchbot --max-line-length=120