mirror of
https://github.com/gryf/fs-uae-wrapper.git
synced 2026-04-21 06:51:25 +02:00
ef5631de3c
Also, new command was added to utils - run_command which is an generalized subprocess.call function. Requirements is now added with module six, which was needed to detect string-like objects in sane way.
27 lines
506 B
INI
27 lines
506 B
INI
[tox]
|
|
envlist = py27,py34,py27-flake8,py34-flake8
|
|
|
|
usedevelop = True
|
|
|
|
[testenv]
|
|
usedevelop=True
|
|
setenv = COVERAGE_FILE = .coverage
|
|
commands = py.test --cov=fs_uae_wrapper --cov-report=term-missing
|
|
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:py27]
|
|
deps = {[testenv]deps}
|
|
mock
|
|
|
|
[testenv:py34-flake8]
|
|
basepython = python3.4
|
|
deps = flake8
|
|
commands = flake8 {posargs}
|
|
|
|
[testenv:py27-flake8]
|
|
basepython = python2.7
|
|
deps = flake8
|
|
commands = flake8 {posargs}
|