Debian Codegraph @

.travis.yml

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