Add Travis CI
This commit is contained in:
+16
@@ -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
|
||||
@@ -1,3 +1,5 @@
|
||||
[](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.
|
||||
|
||||
Reference in New Issue
Block a user