本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
579B

  1. sudo: false
  2. language: go
  3. go:
  4. - 1.11.x
  5. - 1.12.x
  6. - tip
  7. matrix:
  8. allow_failures:
  9. - go: tip
  10. fast_finish: true
  11. env:
  12. - GO111MODULE=on
  13. script:
  14. - if [ -n "$(go fmt ./...)" ]; then exit 1; fi
  15. - go test github.com/pelletier/go-toml -race -coverprofile=coverage.txt -covermode=atomic
  16. - go test github.com/pelletier/go-toml/cmd/tomljson
  17. - go test github.com/pelletier/go-toml/cmd/tomll
  18. - go test github.com/pelletier/go-toml/query
  19. - ./benchmark.sh $TRAVIS_BRANCH https://github.com/$TRAVIS_REPO_SLUG.git
  20. after_success:
  21. - bash <(curl -s https://codecov.io/bash)
上海开阖软件有限公司 沪ICP备12045867号-1