sudo: false
language: go
go:
  - 1.10.x
  - 1.9.x
install:
  - go get -u github.com/golang/dep/cmd/dep
  - dep ensure
env:
  - SCALA_VERSION=2.12 KAFKA_VERSION=0.11.0.1
  - SCALA_VERSION=2.12 KAFKA_VERSION=1.0.1
  - SCALA_VERSION=2.12 KAFKA_VERSION=1.1.0
script:
  - make default test-race
addons:
  apt:
    packages:
      - oracle-java8-set-default
