另客网go项目公用的代码库

.travis.yml 304B

1234567891011121314151617181920
  1. language: go
  2. sudo: false
  3. matrix:
  4. include:
  5. - go: 1.4
  6. - go: 1.5
  7. - go: 1.6
  8. - go: 1.7
  9. - go: 1.8
  10. - go: tip
  11. allow_failures:
  12. - go: tip
  13. script:
  14. - go get -t -v ./...
  15. - diff -u <(echo -n) <(gofmt -d .)
  16. - go vet $(go list ./... | grep -v /vendor/)
  17. - go test -v -race ./...