more fiddling trying to get test runs to work with various invocation methods, esp travis

This commit is contained in:
Noah Levitt 2013-12-06 16:50:02 -08:00
parent 9c6c18d274
commit b6774da603
3 changed files with 6 additions and 3 deletions

View File

@ -6,5 +6,6 @@ python:
- "2.7"
- "3.2"
- "3.3"
install: python setup.py install
script: python setup.py test

View File

@ -15,7 +15,7 @@ setuptools.setup(name='warcprox',
install_requires=['pyopenssl', 'warctools>=4.8.3'], # gdbm/dbhash?
dependency_links=['git+https://github.com/nlevitt/warctools.git@python3#egg=warctools-4.8.3'],
tests_require=['requests>=2.0.1'], # >=2.0.1 for https://github.com/kennethreitz/requests/pull/1636
test_suite='warcprox.tests.test_warcprox',
test_suite='warcprox.tests',
scripts=['bin/dump-anydbm', 'bin/warcprox'],
zip_safe=False)

View File

@ -7,5 +7,7 @@
envlist = py27, py32, py33
[testenv]
commands = {envpython} -m unittest discover
deps = requests>=2.0.1
commands = {envpython} setup.py test
# commands = {envpython} -m unittest discover
# deps = requests>=2.0.1