1
0
Fork 0
forked from github/pelican
pelican-theme/tox.ini
derwinlu 22ec94ee56 Do not fail tox run if coveralls push fails
When tox environments are run locally, coveralls exits with an error
code as it is not authenticated to push to coveralls. Adding the - in
front allows tox to ignore a fail on this command and not mark the test
case as failed.
2015-10-22 09:45:49 +02:00

43 lines
831 B
INI

[tox]
envlist = py{27,33,34,35},docs,flake8
[testenv]
basepython =
py27: python2.7
py33: python3.3
py34: python3.4
py35: python3.5
passenv = *
usedevelop=True
deps =
-rdev_requirements.txt
nose
nose-cov
coveralls
commands =
{envpython} --version
nosetests -sv --with-coverage --cover-package=pelican pelican
- coveralls
[testenv:docs]
basepython = python2.7
deps =
sphinx
sphinx_rtd_theme
changedir = docs
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
[flake8]
application-import-names = pelican
import-order-style = cryptography
[testenv:flake8]
basepython = python2.7
deps =
flake8 <= 2.4.1
git+https://github.com/public/flake8-import-order@2ac7052a4e02b4a8a0125a106d87465a3b9fd688
commands =
flake8 --version
flake8 pelican