blob: eb54a0ddc0829d1e087d67c9e624f86db881cda5 [file] [log] [blame]
khenaidooac637102019-01-14 15:44:34 -05001language: 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
15 - KAFKA_VERSION=2.0.1
16 - KAFKA_VERSION=2.1.0
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