ソースを参照

Create .travis.yml

Daniel Høyer Iversen 5 年 前
コミット
22af2e81c8
1 ファイル変更15 行追加0 行削除
  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