1
0

.travis.yml 434 B

123456789101112131415
  1. language: go
  2. go:
  3. - 1.6
  4. - 1.7
  5. - 1.8
  6. before_install:
  7. - go get github.com/axw/gocov/gocov
  8. - go get github.com/mattn/goveralls
  9. - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
  10. install:
  11. - go get -u -v $(go list -f '{{join .Imports "\n"}}{{"\n"}}{{join .TestImports "\n"}}' ./... | sort | uniq | grep -v gopher-lua)
  12. script:
  13. - $HOME/gopath/bin/goveralls -service=travis-ci