drone build configuration

This commit is contained in:
Dan Ballard 2018-06-29 23:38:08 -05:00
parent 2ba0b349e6
commit 8bd9da974d
2 changed files with 23 additions and 1 deletions

23
.drone.yml Normal file
View File

@ -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 ]

1
.gitignore vendored
View File

@ -5,4 +5,3 @@
*.test
*/*test_*
*/*_test*
.*