From 8bd9da974d9a13719f00b378fa00156b8697da11 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Fri, 29 Jun 2018 23:38:08 -0500 Subject: [PATCH] drone build configuration --- .drone.yml | 23 +++++++++++++++++++++++ .gitignore | 1 - 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5b66cfe --- /dev/null +++ b/.drone.yml @@ -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 ] \ No newline at end of file diff --git a/.gitignore b/.gitignore index 54fedbb..e95809b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ *.test */*test_* */*_test* -.*