sudo: false
language: go
go:
  - 1.8.x
env:
  - DEP_VERSION="0.3.2"

before_install:
  # Download the binary to bin folder in $GOPATH
  - curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
  # Make the binary executable
  - chmod +x $GOPATH/bin/dep

install:
  - dep ensure

script:
 - make test
 
after_success:
  - bash <(curl -s https://codecov.io/bash)