Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use skip_install=true for lint or static tox targets #266

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[tox]
envlist = py27,py34,py35,py36,py37,pypy,pypy3,{py27,py34}-flake8,noopenssl,docstrings
minversion = 1.9

[testenv]
pip_pre = False
Expand Down Expand Up @@ -29,25 +30,27 @@ basepython = python2.7
deps =
flake8
commands = flake8 {posargs} requests_toolbelt
skip_install = true

[testenv:py34-flake8]
basepython = python3.4
deps =
flake8
commands = flake8 {posargs} requests_toolbelt
skip_install = true

[testenv:docstrings]
deps =
flake8
flake8-docstrings
commands = flake8 {posargs} requests_toolbelt
skip_install = true

[testenv:docs]
deps =
sphinx>=1.3.0
sphinx_rtd_theme
pyopenssl
.
commands =
sphinx-build -E -c docs -b html docs/ docs/_build/html

Expand All @@ -56,6 +59,7 @@ deps =
readme_renderer
commands =
python setup.py check -m -r -s
skip_install = true

[testenv:release]
deps =
Expand All @@ -64,6 +68,7 @@ deps =
commands =
python setup.py sdist bdist_wheel
twine upload --skip-existing dist/*
skip_install = true

[pytest]
addopts = -q
Expand Down