language: go
go:
  - 1.x
script:
  - GOOS=windows go install github.com/chzyer/readline/example/...
  - GOOS=linux go install github.com/chzyer/readline/example/...
  - GOOS=darwin go install github.com/chzyer/readline/example/...
  - go test -race -v