forked from fortra/impacket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (26 loc) · 848 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
group: travis_latest
os: linux
dist: focal
language: python
cache: pip
jobs:
include:
- python: 2.7
env: NO_REMOTE=true, TOXENV=py27
- python: 3.6
env: NO_REMOTE=true, TOXENV=py36
- python: 3.7
env: NO_REMOTE=true, TOXENV=py37
- python: 3.8
env: NO_REMOTE=true, TOXENV=py38
- python: 3.9-dev
env: NO_REMOTE=true, TOXENV=py39
allow_failures:
- python: 3.9-dev
install: pip install flake8 tox -r requirements.txt
before_script:
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --ignore=E1,E2,E3,E501,W291,W293 --exit-zero --max-complexity=65 --max-line-length=127 --statistics
script: tox