language: go
go:
  - 1.x
  - 1.7
  - 1.8
  - 1.9.x
  - master
before_install:
  - go install -v github.com/golang/dep/cmd/dep
install:
  - dep ensure
script:
  - go test . ./lib
sudo: false

language: go
go:
  - 1.x
  - 1.7
  - 1.8
  - 1.9.x
  - master
before_install:
  - go get -u github.com/golang/dep/cmd/dep
install:
  - dep ensure
script:
  - go test . ./lib
sudo: false

Change go dep installation step
Change go dep installation step
