forked from graphite-project/carbonate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
16 lines (13 loc) · 879 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[tox]
envlist = py27,py27-pre0_9_10,lint
[testenv]
install_command = pip install --install-option='--install-scripts={envbindir}' --install-option='--install-lib={envsitepackagesdir}' --install-option='--install-data={envdir}/lib/graphite' -r{toxinidir}/requirements.txt -r{toxinidir}/tests/requirements.txt --pre {opts} {packages}
commands = coverage erase
coverage run {envbindir}/nosetests
coverage report --include=carbonate* --omit=*test*
[testenv:py27-pre0_9_10]
install_command = pip install --install-option='--install-scripts={envbindir}' --install-option='--install-lib={envsitepackagesdir}' --install-option='--install-data={envdir}/lib/graphite' -r{toxinidir}/tests/old_whisper_requirements.txt -r{toxinidir}/tests/requirements.txt --pre {opts} {packages}
basepython = python2.7
[testenv:lint]
basepython = python
commands = flake8 carbonate