1
0

.travis.yml 519 B

123456789101112131415161718192021222324252627282930313233
  1. language: go
  2. sudo: false
  3. os:
  4. - linux
  5. - osx
  6. go:
  7. - 1.5
  8. - 1.6
  9. - 1.7
  10. - 1.8
  11. - master
  12. install:
  13. - go get ./...
  14. script:
  15. - go vet ./...
  16. - go test -v -cpu=1,2,4 .
  17. - go test -v -cpu=1,2,4 -short -race .
  18. - go test -tags=noasm -v -cpu=1,2,4 -short -race .
  19. - go build examples/simple-decoder.go
  20. - go build examples/simple-encoder.go
  21. - go build examples/stream-decoder.go
  22. - go build examples/stream-encoder.go
  23. - diff <(gofmt -d .) <("")
  24. matrix:
  25. allow_failures:
  26. - go: 'master'
  27. fast_finish: true