Checkout Config
checks:
python:
code_rating: true
duplicate_code: true
filter:
paths: ['kytos/*', 'tests/*']
excluded_paths:
- 'bin/*'
build:
environment:
python: 3.6.9
postgresql: false
redis: false
dependencies:
before:
- pip install tox
- pip install coverage
tests:
override:
-
command: 'tox'
coverage:
file: '.coverage'
config_file: '.coveragerc'
format: 'py-cc'
- py-scrutinizer-run
Global Config
checks:
python:
code_rating: true
duplicate_code: true
build:
nodes:
py37:
environment:
python: 3.7.1
postgresql: false
redis: false
dependencies:
before:
- pip install coverage
tests:
override:
-
command: 'tox -a | grep -q py37 && tox -e py37'
idle_timeout: 300
coverage:
file: '.coverage'
config_file: '.coveragerc'
format: 'py-cc'
- py-scrutinizer-run
pyOthers:
environment:
python: 3.6
postgresql: false
redis: false
dependencies:
before:
- pip install coverage
tests:
override:
-
command: 'for env in $(tox -a | grep -v py37); do tox -e $env; done'
idle_timeout: 300
coverage:
file: '.coverage'
config_file: '.coveragerc'
format: 'py-cc'
- py-scrutinizer-run