language: go
go:
  - 1.6
  - 1.5.3

sudo: false

before_install:
  - go version | (grep -q 'go1.[56]' || exit 0 && go get -u github.com/golang/lint/golint )
  - go get -u github.com/vbatts/git-validation

install: true

script:
  - go vet -x ./...
  - make .golint
  - git-validation -run DCO,short-subject,dangling-whitespace -v
  
