Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (33 sloc) 903 Bytes
[tox]
envlist = docs, py36, flake8
[travis]
python =
3.6: py36, flake8
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 --ignore=E501 spade
[testenv:docs]
basepython=python
changedir=docs
deps=sphinx
commands=
pip install -r{toxinidir}/requirements_dev.txt
pip install -r{toxinidir}/requirements.txt
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv]
setenv =
PYTHONPATH = {toxinidir}
passenv =
TRAVIS
TRAVIS_BRANCH
TRAVIS_JOB_ID
deps =
-r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
-r{toxinidir}/requirements.txt
commands =
pip install -U pip
pip install -r{toxinidir}/requirements_dev.txt -r{toxinidir}/requirements.txt
py.test --basetemp={envtmpdir} --cov=spade
You can’t perform that action at this time.