Browse Source

Create .travis.yml

Daniel Høyer Iversen 5 năm trước cách đây
mục cha
commit
22af2e81c8
1 tập tin đã thay đổi với 15 bổ sung0 xóa
  1. 15 0
      .travis.yml

+ 15 - 0
.travis.yml

@@ -0,0 +1,15 @@
+sudo: false
+matrix:
+  fast_finish: true
+  include:
+  - python: '3.5'
+    env: TOXENV=lint
+cache:
+  directories:
+  - "$HOME/.cache/pip"
+install:
+- pip install flake8 pylint bluepy
+language: python
+script:
+- flake8 switchbot --max-line-length=120
+- pylint switchbot --max-line-length=120