sum7
/
yaja
Archived
1
0
Fork 0

add drone ci - test -race

This commit is contained in:
Martin/Geno 2018-04-18 14:24:28 +02:00
parent 1c0caa4410
commit d8c6f942bf
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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