.travis.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. language: go
  2. env:
  3. - GOMAXPROCS=4 GORACE=halt_on_error=1
  4. matrix:
  5. include:
  6. - go: 1.10.x
  7. install:
  8. - go get github.com/stretchr/testify/assert
  9. - go get golang.org/x/crypto/ssh/terminal
  10. - go get golang.org/x/sys/unix
  11. - go get golang.org/x/sys/windows
  12. script:
  13. - go test -race -v ./...
  14. - go: 1.11.x
  15. env: GO111MODULE=on
  16. install:
  17. - go mod download
  18. script:
  19. - go test -race -v ./...
  20. - go: 1.11.x
  21. env: GO111MODULE=off
  22. install:
  23. - go get github.com/stretchr/testify/assert
  24. - go get golang.org/x/crypto/ssh/terminal
  25. - go get golang.org/x/sys/unix
  26. - go get golang.org/x/sys/windows
  27. script:
  28. - go test -race -v ./...
  29. - go: 1.10.x
  30. install:
  31. - go get github.com/stretchr/testify/assert
  32. - go get golang.org/x/crypto/ssh/terminal
  33. - go get golang.org/x/sys/unix
  34. - go get golang.org/x/sys/windows
  35. script:
  36. - go test -race -v -tags appengine ./...
  37. - go: 1.11.x
  38. env: GO111MODULE=on
  39. install:
  40. - go mod download
  41. script:
  42. - go test -race -v -tags appengine ./...
  43. - go: 1.11.x
  44. env: GO111MODULE=off
  45. install:
  46. - go get github.com/stretchr/testify/assert
  47. - go get golang.org/x/crypto/ssh/terminal
  48. - go get golang.org/x/sys/unix
  49. - go get golang.org/x/sys/windows
  50. script:
  51. - go test -race -v -tags appengine ./...