forked from getpelican/pelican
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (37 loc) · 762 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
[tox]
envlist = py{27,34,35,36},docs,flake8
[testenv]
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
passenv = *
usedevelop=True
deps =
-rrequirements/test.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 =
-rrequirements/docs.pip
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 =
-rrequirements/style.pip
commands =
flake8 --version
flake8 pelican