mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:31:51 +02:00
Merge pull request #3042 from TheNavigat/envlist
Limiting tox envlist to really needed tests
This commit is contained in:
@@ -71,6 +71,9 @@ The following tools are there to help you:
|
|||||||
experimental, non-production Apache2 install on them. ``tox -e
|
experimental, non-production Apache2 install on them. ``tox -e
|
||||||
apacheconftest`` can be used to run those specific Apache conf tests.
|
apacheconftest`` can be used to run those specific Apache conf tests.
|
||||||
|
|
||||||
|
- ``tox --skip-missing-interpreters`` runs tox while ignoring missing versions
|
||||||
|
of Python needed for running the tests.
|
||||||
|
|
||||||
- ``tox -e py27``, ``tox -e py26`` etc, run unit tests for specific Python
|
- ``tox -e py27``, ``tox -e py26`` etc, run unit tests for specific Python
|
||||||
versions.
|
versions.
|
||||||
|
|
||||||
@@ -313,7 +316,9 @@ Steps:
|
|||||||
3. Run ``./pep8.travis.sh`` to do a cursory check of your code style.
|
3. Run ``./pep8.travis.sh`` to do a cursory check of your code style.
|
||||||
Fix any errors.
|
Fix any errors.
|
||||||
4. Run ``tox -e lint`` to check for pylint errors. Fix any errors.
|
4. Run ``tox -e lint`` to check for pylint errors. Fix any errors.
|
||||||
5. Run ``tox`` to run the entire test suite including coverage. Fix any errors.
|
5. Run ``tox --skip-missing-interpreters`` to run the entire test suite
|
||||||
|
including coverage. The ``--skip-missing-interpreters`` argument ignores
|
||||||
|
missing versions of Python needed for running the tests. Fix any errors.
|
||||||
6. If your code touches communication with an ACME server/Boulder, you
|
6. If your code touches communication with an ACME server/Boulder, you
|
||||||
should run the integration tests, see `integration`_. See `Known Issues`_
|
should run the integration tests, see `integration`_. See `Known Issues`_
|
||||||
for some common failures that have nothing to do with your code.
|
for some common failures that have nothing to do with your code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
envlist = py{26,27,33,34,35},py{26,27}-oldest,cover,lint
|
envlist = py{26,33,34,35},cover,lint
|
||||||
|
|
||||||
# nosetest -v => more verbose output, allows to detect busy waiting
|
# nosetest -v => more verbose output, allows to detect busy waiting
|
||||||
# loops, especially on Travis
|
# loops, especially on Travis
|
||||||
|
|||||||
Reference in New Issue
Block a user