blob: b7f7874e174f985fd8b15a7de6a7ec912c9b5530 [file] [log] [blame]
William Kurkianea869482019-04-09 15:16:11 -04001language: go
2go:
3- 1.10.x
4- 1.11.x
5
6env:
7 global:
8 - KAFKA_PEERS=localhost:9091,localhost:9092,localhost:9093,localhost:9094,localhost:9095
9 - TOXIPROXY_ADDR=http://localhost:8474
10 - KAFKA_INSTALL_ROOT=/home/travis/kafka
11 - KAFKA_HOSTNAME=localhost
12 - DEBUG=true
13 matrix:
14 - KAFKA_VERSION=1.1.1 KAFKA_SCALA_VERSION=2.11
15 - KAFKA_VERSION=2.0.1 KAFKA_SCALA_VERSION=2.12
16 - KAFKA_VERSION=2.1.0 KAFKA_SCALA_VERSION=2.12
17
18before_install:
19- export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR}
20- vagrant/install_cluster.sh
21- vagrant/boot_cluster.sh
22- vagrant/create_topics.sh
23
24install: make install_dependencies
25
26script:
27- make test
28- make vet
29- make errcheck
30- if [[ "$TRAVIS_GO_VERSION" == 1.11* ]]; then make fmt; fi
31
32after_success:
33- bash <(curl -s https://codecov.io/bash)
34
35after_script: vagrant/halt_cluster.sh