]> go.fuhry.dev Git - fsnotify.git/commitdiff
Add race detection on Travis CI.
authorNathan Youngman <git@nathany.com>
Thu, 17 Dec 2015 03:04:41 +0000 (20:04 -0700)
committerNathan Youngman <git@nathany.com>
Thu, 17 Dec 2015 18:50:05 +0000 (11:50 -0700)
thanks to @ppknap for the suggestion

.travis.yml

index 1b5151f123900ae9a0e6c81d6e448586de301180..70988769cced6ebbe650eba9b07e9d24dde61ab9 100644 (file)
@@ -2,11 +2,14 @@ sudo: false
 language: go
 
 go:
-  - 1.5.1
+  - 1.5.2
 
 before_script:
   - go get -u github.com/golang/lint/golint
 
+script:
+  - go test -v --race ./...
+
 after_script:
   - test -z "$(gofmt -s -l -w . | tee /dev/stderr)"
   - test -z "$(golint ./...     | tee /dev/stderr)"