language: python
python: 3.5
sudo: true

env:
  - TOX_ENV=py27
  - TOX_ENV=py33
  - TOX_ENV=py34
  - TOX_ENV=py35
  - TOX_ENV=pypy
  - TOX_ENV=pypy3

install:
  - sudo apt-get install mosquitto
  - sudo pip install tox
  - sudo pip install coverage
  - sudo pip install coveralls
  - sudo pip install pytest>=2.7.3 --upgrade

before_script:
  - sudo service mosquitto restart

script:
  - tox -e $TOX_ENV

after_success:
  - coverage combine
  - coveralls

language: python
python: 3.5
sudo: true

env:
  - TOX_ENV=py27
  - TOX_ENV=py33
  - TOX_ENV=py34
  - TOX_ENV=py35
  - TOX_ENV=pypy
  - TOX_ENV=pypy3

before_install:
  - sudo add-apt-repository ppa:mosquitto-dev/mosquitto-ppa -y
  - sudo apt-get update

install:
  - sudo apt-get install mosquitto
  - sudo pip install tox
  - sudo pip install coverage
  - sudo pip install coveralls
  - sudo pip install pytest>=2.7.3 --upgrade

before_script:
  - sudo service mosquitto restart

script:
  - tox -e $TOX_ENV

after_success:
  - coverage combine
  - coveralls

Use Mosquitto PPA in Travis
Use Mosquitto PPA in Travis

In relation to #63
