language: go

sudo: required

go:
    - 1.6

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

install:
    - sudo apt-get install mosquitto mosquitto-clients
    - make deps
    - make test-deps
    - make cover-deps

before_script:
    - mosquitto -p 1883 1>/dev/null 2>/dev/null &

services:
  - redis-server

script:
    - make test
    - make fmt
    - make vet

after_success:
    - make cover
    - make coveralls

language: go

sudo: required

go:
    - 1.6

before_install:
    - sudo apt-get update

install:
    - sudo apt-get install mosquitto
    - make deps
    - make test-deps
    - make cover-deps

before_script:
    - mosquitto -p 1883 1>/dev/null 2>/dev/null &

services:
    - redis-server

script:
    - make test
    - make fmt
    - make vet

after_success:
    - make cover
    - make coveralls

Use Ubuntu mosquitto in Travis
[ci] Use Ubuntu mosquitto in Travis
