language: python
python:
  - "2.6"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
  - pip install stomp.py
  - pip install python-daemon
  - pip install python-ldap
  - pip install dirq
# command to run tests, e.g. python setup.py test
script:
  - python -m unittest discover

language: python
python:
  - "2.6"
  - "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
  - pip install stomp.py
  - pip install python-daemon
  - pip install python-ldap
  - pip install dirq
  - pip install unittest2
# command to run tests, e.g. python setup.py test
script:
  - export PYTHONPATH=$PYTHONPATH:`pwd -P`
  - cd test
  - unit2 discover

Replace unittest with unittest2 in Travis file
Replace unittest with unittest2 in Travis file

- unittest2 is a backport of unittest for Python 2.7 that supports Python
  2.4+. This allows us to use the simple "discover" sub-command.
