Ingen beskrivning

.travis.yml 567B

123456789101112131415161718192021222324
  1. language: go
  2. go:
  3. - 1.7.x
  4. - 1.8.x
  5. - master
  6. go_import_path: github.com/google/pprof
  7. os:
  8. - linux
  9. - osx
  10. before_install:
  11. - go get -u github.com/golang/lint/golint honnef.co/go/tools/cmd/...
  12. script:
  13. - gofmtdiff=$(gofmt -s -d .) && if [ -n "$gofmtdiff" ]; then printf 'gofmt -s found:\n%s\n' "$gofmtdiff" && exit 1; fi
  14. - golintlint=$(golint ./...) && if [ -n "$golintlint" ]; then printf 'golint found:\n%s\n' "$golintlint" && exit 1; fi
  15. - go tool vet -all .
  16. - gosimple ./...
  17. - ./test.sh
  18. after_success:
  19. - bash <(curl -s https://codecov.io/bash)