2
0

Add Travis CI

This commit is contained in:
Jack Christensen
2018-12-26 17:24:32 -06:00
parent 617626eddc
commit fce9fbe2b4
2 changed files with 18 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
language: go
go:
- 1.x
- tip
env:
global:
- STRESS_TEST_DURATION=15s
script:
- go test -v -race
matrix:
allow_failures:
- go: tip
+2
View File
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/jackc/puddle.svg)](https://travis-ci.org/jackc/puddle)
# Puddle
Puddle is a tiny generic resource pool library for Go that uses the standard context library to signal cancellation of acquires. It is designed to contain the minimum functionality a resource pool needs that cannot be implemented without concerrency concerns. For example, a database connection pool may use puddle internally and implement health checks and keep-alive behavior without needing to implement any concurrent code of its own.