.travis.yml 742 B

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