-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy path.travis.yml
56 lines (55 loc) · 1.32 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
49
50
51
52
53
54
55
56
language: python
matrix:
include:
- os: linux
dist: bionic
python: 3.5
env:
FLAKE8=flake8
COVERAGE=coverage
COVERALLS=coveralls
- os: linux
dist: bionic
python: 3.6
env:
FLAKE8=flake8
COVERAGE=coverage
COVERALLS=coveralls
- os: linux
dist: bionic
python: 3.7
env:
FLAKE8=flake8
COVERAGE=coverage
COVERALLS=coveralls
- os: linux
dist: bionic
python: 3.8
env:
FLAKE8=flake8
COVERAGE=coverage
COVERALLS=coveralls
- os: osx
os_image: xcode12.2
language: generic
env:
PYTHON=3.7.1
FLAKE8=flake8
COVERAGE=coverage
COVERALLS=coveralls
- os: windows
language: sh
env:
PY=py
FLAKE8=/c/Python39/Scripts/flake8.exe
COVERAGE=/c/Python39/Scripts/coverage.exe
COVERALLS=/c/Python39/Scripts/coveralls.exe
before_install:
- ./.travis/install.sh
script:
- ${FLAKE8} homekit
- ${FLAKE8} tests
- ${FLAKE8} *.py
- ${COVERAGE} run -m pytest -s tests/
after_success:
- ${COVERALLS}