Skip to content

Commit

Permalink
Local and hosted test unification
Browse files Browse the repository at this point in the history
  • Loading branch information
ashcrow committed Oct 8, 2016
1 parent 05bd2c9 commit d8b41ef
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ python:

install:
- pip install -e .[commands,consumers]
- pip install nose mock sqlalchemy unittest2
script: nosetests -v
- pip install nose
script: python setup.py nosetests
notifications:
email: false
irc:
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[nosetests]

where=fedmsg/tests
verbosity=2
detailed-errors=1
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
))
tests_require = [
'nose',
'moksha.hub',
'pygments',
'psutil',
'sqlalchemy', # For the persistent-store test(s).
]

Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ envlist = py{27}-six{13,17,19}
downloadcache = {toxworkdir}/_download/

[testenv]
recreate = True
basepython =
py26: python2.6
py27: python2.7
Expand All @@ -12,8 +13,6 @@ deps =
six17: six==1.7.3
six19: six>=1.9.0
nose
mock
sqlalchemy
sitepackages = False
commands =
nosetests {posargs}
python setup.py nosetests

0 comments on commit d8b41ef

Please sign in to comment.