Skip to content

Instantly share code, notes, and snippets.

@lpenz
Created April 23, 2015 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lpenz/5a1a175468dab86382c8 to your computer and use it in GitHub Desktop.
Save lpenz/5a1a175468dab86382c8 to your computer and use it in GitHub Desktop.
.travis.yml: base for go with coveralls
language: go
go:
- tip
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get github.com/bradfitz/goimports
- go get github.com/golang/lint/golint
- go get golang.org/x/tools/cmd/vet
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
- git clone https://gist.github.com/0f22736320abe6be71ce.git $HOME/goclean
- sudo apt-get update -qq
- sudo apt-get install -y libxml2-dev
script:
- $HOME/goclean/goclean.sh
- $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment