|
|
@@ -0,0 +1,23 @@ |
|
|
|
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 |
|
|
|
- sh testing/tests.sh |
|
|
|
|
|
|
|
pipeline: |
|
|
|
notify: |
|
|
|
image: drillster/drone-email |
|
|
|
host: build.openprivacy.ca |
|
|
|
port: 25 |
|
|
|
skip_verify: true |
|
|
|
from: dan@openprivacy.ca |
|
|
|
when: |
|
|
|
status: [ success, changed, failure ] |