Official cwtch.im peer and server implementations. https://cwtch.im
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.
 
 
 

65 rindas
1.6 KiB

  1. workspace:
  2. base: /go
  3. path: src/cwtch.im/cwtch
  4. pipeline:
  5. fetch:
  6. image: golang
  7. when:
  8. repo: cwtch.im/cwtch
  9. branch: master
  10. event: [ push, pull_request ]
  11. commands:
  12. - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/tor
  13. - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc
  14. - chmod a+x tor
  15. - go get -u golang.org/x/lint/golint
  16. - export GO111MODULE=on
  17. - go mod vendor
  18. quality:
  19. image: golang
  20. when:
  21. repo: cwtch.im/cwtch
  22. branch: master
  23. event: [ push, pull_request ]
  24. commands:
  25. - go list ./... | xargs go vet
  26. - go list ./... | xargs golint -set_exit_status
  27. units-tests:
  28. image: golang
  29. when:
  30. repo: cwtch.im/cwtch
  31. branch: master
  32. event: [ push, pull_request ]
  33. commands:
  34. - export PATH=$PATH:/go/src/cwtch.im/cwtch
  35. - sh testing/tests.sh
  36. integ-test:
  37. image: golang
  38. when:
  39. repo: cwtch.im/cwtch
  40. branch: master
  41. event: [ push, pull_request ]
  42. commands:
  43. - go test -race -v cwtch.im/cwtch/testing/
  44. notify-email:
  45. image: drillster/drone-email
  46. host: build.openprivacy.ca
  47. port: 25
  48. skip_verify: true
  49. from: drone@openprivacy.ca
  50. when:
  51. repo: cwtch.im/cwtch
  52. branch: master
  53. event: [ push, pull_request ]
  54. status: [ failure ]
  55. notify-gogs:
  56. image: openpriv/drone-gogs
  57. when:
  58. repo: cwtch.im/cwtch
  59. branch: master
  60. event: pull_request
  61. status: [ success, changed, failure ]
  62. secrets: [gogs_account_token]
  63. gogs_url: https://git.openprivacy.ca