language: go

script:
  - go test -race -v ./...

go:
  - 1.4
  - 1.5
  - 1.6
  - tip

matrix:
  allow_failures:
    - go: tip

install:
  - go get gopkg.in/fsnotify.v1
  - go get gopkg.in/tomb.v1
