19 lines
547 B
YAML
19 lines
547 B
YAML
language: go
|
|
go:
|
|
- "1.9.4"
|
|
- "1.10"
|
|
sudo: false
|
|
before_install:
|
|
- GLIDE_TAG=v0.12.3
|
|
- GLIDE_DOWNLOAD="https://github.com/Masterminds/glide/releases/download/$GLIDE_TAG/glide-$GLIDE_TAG-linux-amd64.tar.gz"
|
|
- curl -L $GLIDE_DOWNLOAD | tar -xvz
|
|
- export PATH=$PATH:$PWD/linux-amd64/
|
|
- glide install
|
|
install:
|
|
- go install -v $(glide novendor)
|
|
- go get -v golang.org/x/tools/cmd/cover
|
|
- go get -v golang.org/x/lint/golint
|
|
- go get -v github.com/davecgh/go-spew/spew
|
|
script:
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
|
- ./goclean.sh
|