language: go
go:
  - 1.8.1

before_script:
  - go get github.com/alecthomas/gometalinter
  - gometalinter --install

script:
  - go build -race -v -gcflags "-N -l" ./...
  - output=$(goimports -d .) && [[ -z "$output" ]]
  - echo `pwd`
  - gometalinter --exclude=corefoundation.go --deadline=360s --enable-gc --sort=path --vendor --cyclo-over=30 --dupl-threshold=100 --disable=gotype ./...
language: go
go:
  - 1.8.1

before_script:
  - go get github.com/alecthomas/gometalinter
  - gometalinter --install

script:
  - go build -race -v -gcflags "-N -l" ./...
  - output=$(goimports -d .) && [[ -z "$output" ]]
  - gometalinter --exclude=corefoundation.go --deadline=360s --enable-gc --sort=path --vendor --cyclo-over=30 --dupl-threshold=100 --disable=gotype ./...
Revert "CI: echo curr dir"
Revert "CI: echo curr dir"

This reverts commit 0767a17dc5c4d03f78163ca4fc2cb2f8140e1391.
