49 lines
698 B
INI
49 lines
698 B
INI
[tox]
|
|
envlist = py3{6,7,8},black,pylama
|
|
skip_missing_interpreters = true
|
|
|
|
[travis]
|
|
python =
|
|
3.6: py36,black,pylama
|
|
|
|
[travis:env]
|
|
TRAVIS_BUILD_STAGE_NAME =
|
|
Lint: black,pylama
|
|
Test: py3{6,7,8}
|
|
|
|
[testenv]
|
|
deps =
|
|
-rrequirements.txt
|
|
-rrequirements-dev.txt
|
|
passenv = *
|
|
|
|
commands =
|
|
py.test --cov=napalm_s350 --cov-report term-missing -vs {posargs}
|
|
|
|
[testenv:black]
|
|
deps = black==18.9b0
|
|
|
|
basepython = python3.6
|
|
commands =
|
|
black --check .
|
|
|
|
[testenv:pylama]
|
|
deps =
|
|
-rrequirements-dev.txt
|
|
|
|
basepython = python3.6
|
|
commands =
|
|
pylama .
|
|
|
|
[testenv:sphinx]
|
|
deps =
|
|
-rdocs/requirements.txt
|
|
|
|
basepython = python3.6
|
|
|
|
commands =
|
|
make doctest
|
|
|
|
whitelist_externals =
|
|
make
|