Created
April 23, 2015 14:48
-
-
Save lpenz/5a1a175468dab86382c8 to your computer and use it in GitHub Desktop.
.travis.yml: base for go with coveralls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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