Skip to content

Commit

Permalink
added depends for parallel builds, removed unneeded deps
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislit committed Jan 9, 2020
1 parent edfaced commit eb0bd58
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ indexserver =
deps =
:preinstall: cython
nose
coverage !=5.0.2
coverage <5.0
lzss
paq
nltk
Expand All @@ -46,37 +46,24 @@ commands = {[testenv:doctest]commands}

[testenv:regression]
basepython = python3.7
deps =
nose
deprecation
lzss
paq
commands = nosetests {toxinidir}/tests/regression --processes=-1 \
--process-timeout=1200 --process-restartworker -c=0 -v []

[testenv:py36-regression]
basepython = python3.6
deps =
:preinstall: cython
{[testenv:regression]deps}
commands = {[testenv:regression]commands}

[testenv:fuzz]
basepython = python3.7
deps =
nose
nltk
syllabipy
lzss
paq
commands = nosetests {toxinidir}/tests/fuzz --processes=-1 \
--process-timeout=1200 --process-restartworker -c=0 -v []

[testenv:py36-fuzz]
basepython = python3.6
deps =
:preinstall: cython
{[testenv:fuzz]deps}
commands = {[testenv:fuzz]commands}

[testenv:black]
Expand All @@ -88,25 +75,29 @@ commands = black .

[testenv:pylint]
basepython = python3.7
depends = black
skip_install = true
deps = pylint
commands = {toxinidir}/helpers/call_and_write_log.py \
"pylint --rcfile=setup.cfg abydos" 0

[testenv:pydocstyle]
basepython = python3.7
depends = black
skip_install = true
deps = pydocstyle
commands = {toxinidir}/helpers/call_and_write_log.py "pydocstyle --count ." 0

[testenv:pycodestyle]
basepython = python3.7
depends = black
skip_install = true
deps = pycodestyle
commands = {toxinidir}/helpers/call_and_write_log.py "pycodestyle ." 0

[testenv:flake8]
basepython = python3.7
depends = black
skip_install = true
deps =
flake8
Expand Down Expand Up @@ -146,19 +137,20 @@ commands = {toxinidir}/helpers/call_and_write_log.py \

[testenv:doc8]
basepython = python3.7
depends = black
skip_install = true
deps = doc8
commands = {toxinidir}/helpers/call_and_write_log.py "doc8 {toxinidir}" 0

[testenv:docs]
changedir = docs
basepython = python3.7
depends = black
whitelist_externals=make
deps =
sphinx
sphinxcontrib-bibtex
sphinx_rtd_theme
numpy
commands =
sphinx-apidoc -e -M -o . ../abydos
sphinx-build -j 8 -b html -d {envtmpdir}/doctrees . _build/html
Expand All @@ -171,19 +163,27 @@ commands =

[testenv:sloccount]
changedir = {toxinidir}
depends = black
skip_install = true
deps =
commands = {toxinidir}/helpers/call_and_write_log.py \
"sloccount --datadir .tox/sloccount/tmp ./abydos" 0

[testenv:badges]
basepython = python3.7
depends =
pylint
pydocstyle
flake8
doc8
sloccount
skip_install = true
deps =
commands = python {toxinidir}/badge_update.py

[testenv:build]
basepython = python3.7
depends = black
skip_install = true
deps =
wheel
Expand All @@ -195,6 +195,7 @@ commands =

[testenv:release]
basepython = python3.7
depends = black
skip_install = true
deps =
{[testenv:build]deps}
Expand All @@ -204,6 +205,7 @@ commands =

[testenv:release-test]
basepython = python3.7
depends = black
skip_install = true
deps =
{[testenv:build]deps}
Expand Down

0 comments on commit eb0bd58

Please sign in to comment.