2018-06-30 04:38:08 +00:00
|
|
|
workspace:
|
|
|
|
base: /go
|
|
|
|
path: src/cwtch.im/cwtch
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: golang
|
|
|
|
commands:
|
|
|
|
- go list ./... | xargs go get
|
|
|
|
- go get -u github.com/golang/lint/golint
|
|
|
|
- go list ./... | xargs go vet
|
|
|
|
- go list ./... | xargs golint -set_exit_status
|
2018-06-30 05:55:22 +00:00
|
|
|
- sh testing/tests.sh
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
notify:
|
|
|
|
image: golang
|
|
|
|
secrets: [buildbot]
|
|
|
|
commands:
|
|
|
|
- echo "Notifying"
|
|
|
|
- curl -H "Authorization:token $BUILDBOT" https://git.openprivacy.ca/api/v1/repos/cwtch.im/cwtch
|
|
|
|
|