forked from jlusiardi/homekit_python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (47 loc) · 1.12 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: python
matrix:
include:
- os: linux
dist: xenial
python: 3.5
env:
FLAKE8=flake8
COVERAGE=coverage
COVERALLS=coveralls
- os: linux
dist: xenial
python: 3.6
env:
FLAKE8=flake8
COVERAGE=coverage
COVERALLS=coveralls
- os: linux
dist: xenial
python: 3.7
env:
FLAKE8=flake8
COVERAGE=coverage
COVERALLS=coveralls
- os: osx
language: generic
env:
PYTHON=3.5.6
FLAKE8=flake8
COVERAGE=coverage
COVERALLS=coveralls
- os: windows
language: sh
env:
PY=py
FLAKE8=/c/Python38/Scripts/flake8.exe
COVERAGE=/c/Python38/Scripts/coverage.exe
COVERALLS=/c/Python38/Scripts/coveralls.exe
before_install:
- ./.travis/install.sh
script:
- ${FLAKE8} homekit
- ${FLAKE8} tests
- ${FLAKE8} *.py
- ${COVERAGE} run -m pytest -s tests/
after_success:
- ${COVERALLS}