File: tox.ini

package info (click to toggle)
virtualenvwrapper 4.8.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 796 kB
  • sloc: sh: 3,369; python: 595; makefile: 185
file content (38 lines) | stat: -rw-r--r-- 797 bytes parent folder | download
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
[tox]
envlist = py27,py33,py34,py35,py36,zsh,ksh,style

[testenv]
install_command = pip install -U {opts} {packages}
commands = bash ./tests/run_tests {envdir} []
deps = -rrequirements.txt
setenv =
    TOXIC = true
    SHELL = /bin/bash
whitelist_externals =
    bash
    zsh
    ksh

[testenv:style]
deps = flake8
commands = flake8 virtualenvwrapper docs/source/conf.py

[testenv:zsh]
basepython=python2.7
setenv =
  SHELL = /bin/zsh
  test_shell_opts = -o shwordsplit
commands =  zsh -o shwordsplit ./tests/run_tests {envdir} []

[testenv:ksh]
basepython=python2.7
setenv =
  SHELL = /bin/ksh
commands =  ksh ./tests/run_tests {envdir} []

[testenv:docs]
basepython=python2.7
deps =
  -r{toxinidir}/requirements.txt
  -r{toxinidir}/docs/requirements.txt
commands = python3 setup.py build_sphinx