Add TravisCI setup (#83)

We've had a few PRs hit master without running the test, this should help make sure we always know the PR status before merging.
This commit is contained in:
Harlow Ward 2019-02-18 11:05:01 -08:00 committed by GitHub
parent 245d1bd6b5
commit 8fd7675ea4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

10
.travis.yml Normal file
View file

@ -0,0 +1,10 @@
language: go
services:
- redis-server
go:
- "1.10"
branches:
only:
- master
script:
- go test -v -race ./...

View file

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