.travis.yml 417 B

12345678910111213141516171819202122
  1. sudo: false
  2. language: go
  3. go:
  4. - 1.11.x
  5. env:
  6. - DEP_VERSION="0.3.2"
  7. before_install:
  8. # Download the binary to bin folder in $GOPATH
  9. - curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
  10. # Make the binary executable
  11. - chmod +x $GOPATH/bin/dep
  12. install:
  13. - dep ensure
  14. script:
  15. - make test
  16. after_success:
  17. - bash <(curl -s https://codecov.io/bash)