Aucune description

.travis.yml 556B

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