2
0
mirror of https://github.com/soheilhy/cmux.git synced 2026-08-05 11:44:11 +08:00

TestErrorHandler: assert that the error handler runs

Also fixes a race condition using an atomic and adds the race detector
to Travis CI.
This commit is contained in:
Tamir Duberstein
2016-02-21 13:50:28 -05:00
parent 4796322bac
commit 15b1cf90b1
2 changed files with 13 additions and 8 deletions

View File

@@ -6,6 +6,8 @@ go:
- 1.5
- 1.6
gobuild_args: -race
before_install:
- go get -u github.com/golang/lint/golint
- if [[ $TRAVIS_GO_VERSION == 1.5* ]]; then go get -u github.com/kisielk/errcheck; fi