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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user