本站源代码
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

38 rindas
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