.travis.yml 707 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. language: go
  2. sudo: false
  3. cache:
  4. directories:
  5. - $HOME/.ccm/repository
  6. matrix:
  7. fast_finish: true
  8. env:
  9. global:
  10. - GOMAXPROCS=2
  11. matrix:
  12. - CASS=2.0.17
  13. AUTH=false
  14. - CASS=2.1.11
  15. AUTH=false
  16. - CASS=2.1.11
  17. AUTH=true
  18. - CASS=2.2.3
  19. AUTH=false
  20. go:
  21. - 1.4
  22. - 1.5
  23. install:
  24. - pip install --user cql PyYAML six
  25. - go get golang.org/x/tools/cmd/vet
  26. - go get golang.org/x/tools/cmd/cover
  27. - git clone https://github.com/pcmanus/ccm.git
  28. - pushd ccm
  29. - ./setup.py install --user
  30. - popd
  31. - go get .
  32. script:
  33. - set -e
  34. - go test -v -tags unit
  35. - PATH=$PATH:$HOME/.local/bin bash integration.sh $CASS $AUTH
  36. - go vet .
  37. notifications:
  38. - email: false