From 8bd9da974d9a13719f00b378fa00156b8697da11 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Fri, 29 Jun 2018 23:38:08 -0500 Subject: [PATCH 1/2] 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* -.* From 0d7f51dd86f2d1218a355201e50048461bbdd0d9 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Sat, 30 Jun 2018 05:53:22 +0000 Subject: [PATCH 2/2] Removing notify for now to commit valid drone step --- .drone.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5b66cfe..5330d04 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,14 +10,4 @@ pipeline: - 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 + - sh testing/tests.sh \ No newline at end of file