Run Travis CI and tox tests through setuptools
Use NOSE_WITH_COVERAGE environment variable for Travis CI
global:
- TWITTER_USERNAME="TweepyDev"
- AWS_BUCKET="tweepy"
+ - NOSE_WITH_COVERAGE=1
- USE_REPLAY=1
- secure: TPQSFGqdl6khXqQqTZ6euROoAmFRnONAlPXD6npvTIIN+fNfnz8lvZtOEWHo2jRPLoU3FyVUhYvTynj6B2hJinulP+RKOMbQ65HCZVHrsitwl1n1QZB5HegQDOYc5q6VTTYn/r8r5tGy35U0O80y1zycTLqSJiXlkdqsSq564pI=
- pip install .[dev,test]
script:
- - nosetests -v --with-coverage -c tests/travis-tests.cfg
+ - python setup.py nosetests
after_success:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then coveralls; fi
[bdist_wheel]
universal = 1
+
+[nosetests]
+verbosity = 2
+tests = tests.test_api,tests.test_cursors,tests.test_resultset,tests.test_utils
+++ /dev/null
-[nosetests]
-tests=tests.test_api,tests.test_cursors,tests.test_resultset,tests.test_utils
envlist = py27, py35, py36, py37
[testenv]
-commands = nosetests -v tests.test_api tests.test_cursors tests.test_resultset tests.test_utils
+commands = python setup.py nosetests
extras = test
setenv =
USE_REPLAY = 1