summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml3
-rw-r--r--tox.ini14
2 files changed, 15 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 4effb1f18..8730c8705 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,6 +27,8 @@ jobs:
- python: 3.7
env: TOXENV=py37
dist: xenial
+ - python: 3.6
+ env: TOXENV=spelling
- stage: tests-pypy
python: pypy3.5-5.8.0
env: TOXENV=pypy
@@ -57,4 +59,3 @@ notifications:
email:
on_success: always
on_failure: always
-
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