language: go

sudo: false

go:
  - 1.6

before_install:
  - go get github.com/mattn/goveralls
  - go get -u github.com/signalfx/gobuild
  - go get -u github.com/golang/lint/golint
  - go get -u github.com/opennota/check/cmd/aligncheck
  - go get -u github.com/opennota/check/cmd/structcheck
  - go get -u github.com/opennota/check/cmd/varcheck
  - go get -u github.com/fzipp/gocyclo
  - go get -u github.com/tsenart/deadcode
  - go get -u github.com/mdempsky/unconvert
  - go get -u github.com/gordonklaus/ineffassign


install:
  - echo -e "Host heroku.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
  - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
  - echo -e "Host git.apache.org\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
  - go get -d -v -t ./... 

script:
  - export PATH=$HOME/gopath/bin:$PATH
  - export GOCOVERDIR_DIR="."
  - env GOCONVEY_REPORTER=silent GOLIB_LOG=/dev/null gobuild

after_script:
  - cat coverage.out


language: go

sudo: false

go:
  - 1.6

before_install:
  - go get -u github.com/signalfx/gobuild
  - go get -u github.com/alecthomas/gometalinter 
  - gometalinter --install --update

install:
  - echo -e "Host heroku.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
  - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
  - echo -e "Host git.apache.org\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
  - go get -d -v -t ./... 

script:
  - export PATH=$HOME/gopath/bin:$PATH
  - export GOCOVERDIR_DIR="."
  - env GOCONVEY_REPORTER=silent GOLIB_LOG=/dev/null gobuild

after_script:
  - cat coverage.out


Use gometalinter's commands to install all the linters
Use gometalinter's commands to install all the linters
