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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. - export GO111MODULE=on
  16. - go mod vendor
  17. - go get -u golang.org/x/lint/golint
  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. - ./tor -f ./torrc
  44. - sleep 15
  45. - go test -v cwtch.im/cwtch/testing/
  46. notify-email:
  47. image: drillster/drone-email
  48. host: build.openprivacy.ca
  49. port: 25
  50. skip_verify: true
  51. from: drone@openprivacy.ca
  52. when:
  53. repo: cwtch.im/cwtch
  54. branch: master
  55. event: [ push, pull_request ]
  56. status: [ failure ]
  57. notify-gogs:
  58. image: openpriv/drone-gogs
  59. when:
  60. repo: cwtch.im/cwtch
  61. branch: master
  62. event: pull_request
  63. status: [ success, changed, failure ]
  64. secrets: [gogs_account_token]
  65. gogs_url: https://git.openprivacy.ca