language: python
python:
  - "2.6"
  - "2.7"
  - "3.4"
matrix:
  allow_failures:
    - python: "2.7"
    - python: "3.4"
  fast_finish: true

# 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
  # Just run test_brokers for the moment until other tests are worked on
  - unit2 test_brokers

language: python
python:
  - "2.6"
  - "2.7"
  - "3.4"
matrix:
  allow_failures:
    - python: "2.7"
    - python: "3.4"
  fast_finish: true

# 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

before_script:
  - export TMPDIR=$PWD/tmp
# command to run tests, e.g. python setup.py test
script:
  - export PYTHONPATH=$PYTHONPATH:`pwd -P`
  - cd test
  - unit2 discover

Add TMPDIR env variable to Travis file
Add TMPDIR env variable to Travis file

- Add exporting of TMPDIR env variable (where TMPDIR=$PWD/tmp) to Travis
  file so that tests don't try to create temp files in an unwritable area.
