language: go

go:
  - 1.6

install:
  - go get -u github.com/golang/lint/golint
  - go get -u github.com/qur/withmock
  - go get -u github.com/qur/withmock/mocktest
  - go get -u github.com/tools/godep
  - godep restore

script:
  # this command will run golint on every package but /vendor/
  - for package in $(go list ./... | grep -v /vendor/); do golint ${package}; done
  - go vet ./...
  - make test
  - go build -v ./...

notifications:
  email: false

language: go

go:
  - 1.6

install:
  - go get -u github.com/golang/lint/golint
  - go get -u github.com/qur/withmock
  - go get -u github.com/qur/withmock/mocktest
  - go get -u golang.org/x/tools/cmd/goimports
  - go get -u github.com/tools/godep
  - godep restore

script:
  # this command will run golint on every package but /vendor/
  - for package in $(go list ./... | grep -v /vendor/); do golint ${package}; done
  - go vet ./...
  - make test
  - go build -v ./...

notifications:
  email: false

Revert "Removing the goimports install"
Revert "Removing the goimports install"

This reverts commit 661f795880f9ef98266e36f5459174544f0eaba0.
