.travis.yml 582 B

1234567891011121314151617181920212223242526272829303132
  1. language: go
  2. go:
  3. - 1.7.3
  4. - 1.8
  5. env:
  6. global:
  7. - KAFKA_PEERS=localhost:9091,localhost:9092,localhost:9093,localhost:9094,localhost:9095
  8. - TOXIPROXY_ADDR=http://localhost:8474
  9. - KAFKA_INSTALL_ROOT=/home/travis/kafka
  10. - KAFKA_HOSTNAME=localhost
  11. - DEBUG=true
  12. matrix:
  13. - KAFKA_VERSION=0.9.0.1
  14. - KAFKA_VERSION=0.10.2.0
  15. before_install:
  16. - export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR}
  17. - vagrant/install_cluster.sh
  18. - vagrant/boot_cluster.sh
  19. - vagrant/create_topics.sh
  20. install:
  21. - make install_dependencies
  22. script:
  23. - make test
  24. - make vet
  25. - make errcheck
  26. - make fmt
  27. sudo: false