language: go
go:
- "1.5"
- "1.6"

env:
  global:
  - ZOOKEEPER_PEERS=localhost:2181
  - DEBUG=true

install:
- make dependencies

before_script:
- make confluent/kafka/start
- make test/create_kafka_topics

script:
- make test
- make vet
- make errcheck
- make fmt

matrix:
  include:
    - go: tip
  allow_failures:
    - go: tip
  fast_finish: true

sudo: false

language: go
go:
- 1.8
- 1.9

env:
  global:
  - ZOOKEEPER_PEERS=localhost:2181
  - DEBUG=true

install:
- make dependencies

before_script:
- make confluent/kafka/start
- make test/create_kafka_topics

script:
- make test
- make vet
- make errcheck
- make fmt

matrix:
  include:
    - go: tip
  allow_failures:
    - go: tip
  fast_finish: true

sudo: false

Test with go 1.8 and 1.9
Test with go 1.8 and 1.9
