Browse Source

drone build configuration

Dan Ballard 1 year ago
parent
commit
8bd9da974d
2 changed files with 23 additions and 1 deletions
  1. 23 0
      .drone.yml
  2. 0 1
      .gitignore

+ 23 - 0
.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 ]

+ 0 - 1
.gitignore

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