forked from plyara/plyara
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (35 loc) · 1.1 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
language: python
python:
- "3.6.11"
- "3.7.8"
- "3.8.3"
sudo: required
dist: focal
install:
- "pip install nose"
- "pip install pycodestyle pydocstyle pyflakes"
- "pip install coverage"
- "pip install codacy-coverage"
- "pip install collective.checkdocs Pygments"
- "python setup.py install"
script:
- nosetests --with-coverage --cover-package=plyara --cover-xml
- pycodestyle plyara/*.py
- pycodestyle setup.py
- pycodestyle tests/unit_tests.py
- pydocstyle --ignore=D104 plyara/__init__.py
- pydocstyle --ignore=D203,D205,D208,D209,D213,D300,D400,D401,D403,D406,D407,D413,D415 plyara/core.py
- pydocstyle --ignore=D203,D213 plyara/exceptions.py
- pydocstyle --ignore=D203,D213,D406,D407,D413 plyara/utils.py
- pydocstyle --ignore=D101,D102,D203,D213 tests/unit_tests.py
- pydocstyle plyara/command_line.py
- pydocstyle setup.py
- pyflakes plyara/core.py
- pyflakes plyara/exceptions.py
- pyflakes plyara/command_line.py
- pyflakes plyara/utils.py
- pyflakes setup.py
- pyflakes tests/unit_tests.py
- python setup.py checkdocs
after_success:
- python-codacy-coverage