summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-09-29 10:30:45 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2018-09-29 10:30:45 +0200
commita83ef077d3f569ac72d25dc8afe08d8a2428e21f (patch)
tree1556f2e4b0c09e02f9632c126b85701f63ebb09b /tox.ini
parentd9a115d7537c55cdff910eee97c683d4dd795634 (diff)
downloadpylint-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.ini14
1 files changed, 13 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index c7d7d3182..9972f22f4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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