.travis.yml 888 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. dist: trusty
  2. language: go
  3. go_import_path: github.com/coreos/etcd
  4. sudo: false
  5. go:
  6. - 1.6.4
  7. env:
  8. global:
  9. - GO15VENDOREXPERIMENT=1
  10. matrix:
  11. - TARGET=amd64
  12. - TARGET=arm64
  13. - TARGET=arm
  14. - TARGET=ppc64le
  15. matrix:
  16. fast_finish: true
  17. allow_failures:
  18. - go: tip
  19. exclude:
  20. - go: 1.6
  21. env: TARGET=arm64
  22. - go: tip
  23. env: TARGET=arm
  24. - go: tip
  25. env: TARGET=arm64
  26. - go: tip
  27. env: TARGET=ppc64le
  28. addons:
  29. apt:
  30. packages:
  31. - libpcap-dev
  32. - libaspell-dev
  33. - libhunspell-dev
  34. before_install:
  35. - go get -v github.com/chzchzchz/goword
  36. - go get -v honnef.co/go/simple/cmd/gosimple
  37. - go get -v honnef.co/go/unused/cmd/unused
  38. # disable godep restore override
  39. install:
  40. - pushd cmd/ && go get -t -v ./... && popd
  41. script:
  42. - >
  43. if [ "${TARGET}" == "amd64" ]; then
  44. GOARCH="${TARGET}" ./test;
  45. else
  46. GOARCH="${TARGET}" ./build;
  47. fi