add drone ci - test -race
This commit is contained in:
parent
1c0caa4410
commit
d8c6f942bf
11
.drone.yml
11
.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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue