.travis.yml 718 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. dist: precise
  2. language: go
  3. go_import_path: github.com/godbus/dbus
  4. sudo: true
  5. go:
  6. - 1.7.3
  7. - 1.8.7
  8. - 1.9.5
  9. - 1.10.1
  10. - tip
  11. env:
  12. global:
  13. matrix:
  14. - TARGET=amd64
  15. - TARGET=arm64
  16. - TARGET=arm
  17. - TARGET=386
  18. - TARGET=ppc64le
  19. matrix:
  20. fast_finish: true
  21. allow_failures:
  22. - go: tip
  23. exclude:
  24. - go: tip
  25. env: TARGET=arm
  26. - go: tip
  27. env: TARGET=arm64
  28. - go: tip
  29. env: TARGET=386
  30. - go: tip
  31. env: TARGET=ppc64le
  32. addons:
  33. apt:
  34. packages:
  35. - dbus
  36. - dbus-x11
  37. before_install:
  38. script:
  39. - go test -v -race ./... # Run all the tests with the race detector enabled
  40. - go vet ./... # go vet is the official Go static analyzer