diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5348ca3 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: go +services: + - redis-server +go: + - "1.10" +branches: + only: + - master +script: + - go test -v -race ./... diff --git a/README.md b/README.md index 4658cd5..b0430f4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Golang Kinesis Consumer +[![Build Status](https://travis-ci.com/harlow/kinesis-consumer.svg?branch=master)](https://travis-ci.com/harlow/kinesis-consumer) [![GoDoc](https://godoc.org/github.com/harlow/kinesis-consumer?status.svg)](https://godoc.org/github.com/harlow/kinesis-consumers) + Kinesis consumer applications written in Go. This library is intended to be a lightweight wrapper around the Kinesis API to read records, save checkpoints (with swappable backends), and gracefully recover from service timeouts/errors. __Alternate serverless options:__