浏览代码

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