File: tox.ini

package info (click to toggle)
html5lib 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,104 kB
  • sloc: python: 12,232; makefile: 12
file content (23 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[tox]
envlist = {py27,py33,py34,py35,py36,pypy}-{base,six19,optional}

[testenv]
deps =
  optional: -r{toxinidir}/requirements-optional.txt
  -r{toxinidir}/requirements-test.txt
  doc: Sphinx

passenv =
  PYTEST_COMMAND
  COVERAGE_RUN_OPTIONS
commands =
  six19: pip install six==1.9
  {env:PYTEST_COMMAND:{envbindir}/py.test} {posargs}
  flake8 {toxinidir}

[testenv:doc]
changedir = doc
commands = sphinx-build -b html . _build

[flake8]
exclude = ./.tox