.travis.yml 342 B

123456789101112131415
  1. language: go
  2. sudo: false
  3. go:
  4. - 1.3
  5. install:
  6. - export GOPATH=${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH
  7. - export PATH=${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH
  8. - go get -t -v ./...
  9. - go get code.google.com/p/go.tools/cmd/cover
  10. script:
  11. - script/validate-dco
  12. - script/validate-gofmt
  13. - go test -v -short ./...
  14. - script/generate-coverage