The sanest way to discover and run tests across py27, py33, py34, tox
and Travis-CI and 'setup.py test'.
This commit is contained in:
Sascha Peilicke 2014-02-02 18:00:54 +01:00
parent f445e8d5f1
commit 007ffcf2e7
4 changed files with 4 additions and 3 deletions

View File

@ -4,4 +4,4 @@ python:
- "2.7"
- "3.3"
install: "pip install --use-mirrors -r test-requirements.txt"
script: python test/__init__.py -v
script: nosetests -v

View File

@ -34,7 +34,7 @@ setup(
scripts=['scripts/lesscpy'],
install_requires=install_requires,
tests_require=test_requires,
test_suite='test',
test_suite='nose.collector',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',

View File

@ -1,2 +1,3 @@
-r requirements.txt
flake8
nose

View File

@ -3,7 +3,7 @@ envlist = py26,py27,py33,flake8
[testenv]
deps = -r{toxinidir}/test-requirements.txt
commands = python test/__init__.py -v
commands = nosetests -v
[testenv:flake8]
commands = flake8