.travis.yml 609 B

123456789101112131415161718192021222324252627282930313233
  1. language: go
  2. go:
  3. - 1.4.3
  4. - 1.5.1
  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.8.1.1
  14. - KAFKA_VERSION=0.8.2.2
  15. - KAFKA_VERSION=0.9.0.0
  16. before_install:
  17. - export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR}
  18. - vagrant/install_cluster.sh
  19. - vagrant/boot_cluster.sh
  20. - vagrant/create_topics.sh
  21. install:
  22. - make install_dependencies
  23. script:
  24. - make test
  25. - make vet
  26. - make errcheck
  27. - make fmt
  28. sudo: false