You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
640 B

  1. # Travis CI (http://travis-ci.org/) is a continuous integration
  2. # service for open source projects. This file configures it
  3. # to run unit tests for docopt-go.
  4. language: go
  5. go:
  6. - 1.4
  7. - 1.5
  8. - 1.6
  9. - 1.7
  10. - 1.8
  11. - 1.9
  12. - tip
  13. matrix:
  14. fast_finish: true
  15. before_install:
  16. - go get golang.org/x/tools/cmd/cover
  17. - go get github.com/mattn/goveralls
  18. install:
  19. - go get -d -v ./... && go build -v ./...
  20. script:
  21. - go vet -x ./...
  22. - go test -v ./...
  23. - go test -covermode=count -coverprofile=profile.cov .
  24. after_script:
  25. - $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci