Skip to content

Commit 1e47c06

Browse files
authored
Fix concurrency issues (#12)
1 parent d165b61 commit 1e47c06

6 files changed

Lines changed: 180 additions & 111 deletions

File tree

.travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
rm -f coverage.txt
55
for dir in $(go list ./...); do
66
echo "go test -timeout 20s -coverprofile=profile.out $dir"
7-
go test -timeout 20s -coverprofile=profile.out $dir
7+
go test -race -timeout 20s -coverprofile=profile.out $dir
88
exit_code=$?
99
if [ "0" != "$exit_code" ]; then
1010
exit $exit_code

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ go:
2020
- 1.8.x
2121
- 1.9.x
2222
- 1.10.x
23+
- 1.11.x
2324
- tip
2425

2526
script:

0 commit comments

Comments
 (0)