本站源代码
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

38 行
631B

  1. language: go
  2. go:
  3. - "1.11"
  4. - "1.12"
  5. go_import_path: gopkg.in/src-d/go-git.v4
  6. env:
  7. - GIT_VERSION=master
  8. - GIT_VERSION=v1.9.3
  9. - GIT_VERSION=v2.11.0
  10. cache:
  11. directories:
  12. - $HOME/.git-dist
  13. before_script:
  14. - export GIT_DIST_PATH=$HOME/.git-dist
  15. - make build-git
  16. before_install:
  17. - git config --global user.email "travis@example.com"
  18. - git config --global user.name "Travis CI"
  19. install:
  20. - go get -v -t ./...
  21. script:
  22. - export GIT_EXEC_PATH=$GIT_DIST_PATH
  23. - export PATH=$GIT_DIST_PATH:$PATH
  24. - git version
  25. - make test-coverage
  26. - go vet ./...
  27. after_success:
  28. - bash <(curl -s https://codecov.io/bash)
上海开阖软件有限公司 沪ICP备12045867号-1