-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
46 lines (45 loc) · 976 Bytes
/
.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
language: python
jobs:
include:
- os: linux
python: 3.5
env:
- BADGE=linux
- os: linux
python: 3.6
env:
- BADGE=linux
- os: linux
python: 3.7.6
env:
- BADGE=linux
- os: linux
python: 3.8
env:
- BADGE=linux
- os: windows
language: shell
before_install:
- choco install python --version 3.8.0
- python -m pip install --upgrade pip
env:
- PATH=/c/Python38:/c/Python38/Scripts:$PATH
- BADGE=windows
allow_failures:
- os: windows
fast_finish: true
install:
- pip install -r requirements.txt
- pip install -r requirements_test.txt
- python setup.py install
script:
- flake8 --exclude __init__.py --max-line-length=82 pyps4_2ndscreen
- flake8 --ignore=E501 tests
- pylint pyps4_2ndscreen
- py.test --cov-report=xml --cov=pyps4_2ndscreen tests/
branches:
only:
- master
- dev
after_success:
- codecov