aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/emersion/go-smtp/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/emersion/go-smtp/.build.yml')
-rw-r--r--vendor/github.com/emersion/go-smtp/.build.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/github.com/emersion/go-smtp/.build.yml b/vendor/github.com/emersion/go-smtp/.build.yml
new file mode 100644
index 0000000..46854b9
--- /dev/null
+++ b/vendor/github.com/emersion/go-smtp/.build.yml
@@ -0,0 +1,17 @@
+image: alpine/edge
+packages:
+ - go
+sources:
+ - https://github.com/emersion/go-smtp
+artifacts:
+ - coverage.html
+tasks:
+ - build: |
+ cd go-smtp
+ go build -v ./...
+ - test: |
+ cd go-smtp
+ go test -coverprofile=coverage.txt -covermode=atomic ./...
+ - coverage: |
+ cd go-smtp
+ go tool cover -html=coverage.txt -o ~/coverage.html