diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-09-29 10:30:45 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-09-29 10:30:45 +0200 |
commit | a83ef077d3f569ac72d25dc8afe08d8a2428e21f (patch) | |
tree | 1556f2e4b0c09e02f9632c126b85701f63ebb09b /tox.ini | |
parent | d9a115d7537c55cdff910eee97c683d4dd795634 (diff) | |
download | pylint-git-a83ef077d3f569ac72d25dc8afe08d8a2428e21f.tar.gz |
Separate pyenchant into a separate step
pyenchant is no longer maintained and doesn't seem to install correctly on all systems.
But it is installable on Travis, so instead we separated that from the main test suite in order
to run it in its own step.
Close #1900
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -32,7 +32,6 @@ deps = mccabe pytest pytest-xdist - pyenchant setenv = COVERAGE_FILE = {toxinidir}/.coverage.{envname} @@ -46,6 +45,19 @@ commands = python -c "import os;cov_strip_abspath = open(os.environ['COVERAGE_FILE'], 'r').read().replace('.tox' + os.sep + os.path.relpath('{envsitepackagesdir}', '{toxworkdir}') + os.sep, '');open(os.environ['COVERAGE_FILE'], 'w').write(cov_strip_abspath)" changedir = {toxworkdir} + +[testenv:spelling] +deps = + https://github.com/PyCQA/astroid/tarball/master#egg=astroid-master-2.0 + pytest + pytest-xdist + pyenchant + +commands = + python -Wi -m pytest {envsitepackagesdir}/pylint/test/ {posargs:} -k unittest_checker_spelling + +changedir = {toxworkdir} + [testenv:coveralls] setenv = COVERAGE_FILE = {toxinidir}/.coverage |