forked from getpelican/pelican
/
tox.ini
44 lines (39 loc) · 864 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[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 =
-rrequirements/developer.pip
nose
nose-cov
coveralls
pygments==2.1.3
commands =
{envpython} --version
nosetests -sv --with-coverage --cover-package=pelican pelican
- coveralls
[testenv:docs]
basepython = python2.7
deps =
sphinx==1.4.9
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