diff --git a/.drone.yml b/.drone.yml index c1d9103..caefa7a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,8 +8,19 @@ pipeline: commands: - go get ./... - go build + codestyle: + image: golang:latest + commands: + - go get github.com/client9/misspell/cmd/misspell + - misspell -error . + - if [ -n "$(gofmt -s -l .)" ]; then echo "Go code is not formatted, run 'gofmt -s -w .'" >&2; exit 1; fi test: image: golang:latest commands: - go get github.com/stretchr/testify/assert - go test ./... -v -cover + test-race: + image: golang:latest + commands: + - go get github.com/stretchr/testify/assert + - go test ./... -v -race diff --git a/README.md b/README.md index fd5e360..7288e6a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # yaja (Yet Another JAbber implementation) +[![DroneCI](https://ci.sum7.eu/api/badges/genofire/yaja/status.svg?branch=master)](https://ci.sum7.eu/genofire/yaja) [![CircleCI](https://circleci.com/gh/genofire/yaja/tree/master.svg?style=shield)](https://circleci.com/gh/genofire/yaja/tree/master) [![Coverage Status](https://coveralls.io/repos/github/genofire/yaja/badge.svg?branch=master)](https://coveralls.io/github/genofire/yaja?branch=master) [![codecov](https://codecov.io/gh/genofire/yaja/branch/master/graph/badge.svg)](https://codecov.io/gh/genofire/yaja) @@ -13,7 +14,7 @@ - SASL-Auth (PLAIN, DIGEST-MD5) - Read & Decode (recv xml) - Send (send xml) - - No OTR (never implemented -> nowadays OMEMO or PGP prefered) + - No OTR (never implemented -> nowadays OMEMO or PGP preferred) - No OMEMO support (not implemented by me: library only for bots and testing) - Client (planned) - Daemon