language: go
go:
  - 1.8.1

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

script:
  - go build -race -coverprofile=coverage.txt -covermode=atomic -v -gcflags "-N -l" ./...
  - output=$(goimports -d .) && [[ -z "$output" ]]
  - gometalinter --fast --exclude=corefoundation.go --deadline=360s --enable-gc --sort=path --vendor --cyclo-over=30 --dupl-threshold=100 --disable=gotype ./...

after_success:
  - bash <(curl -s https://codecov.io/bash)
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 --fast --exclude=corefoundation.go --deadline=360s --enable-gc --sort=path --vendor --cyclo-over=30 --dupl-threshold=100 --disable=gotype ./...

after_success:
  - bash <(curl -s https://codecov.io/bash)
Revert "CI: add codecov parameters"
Revert "CI: add codecov parameters"

This reverts commit a5fdff555df0b307963cf87ff70116bb64429451.
