.travis.yml 323 B

123456789101112131415161718192021
  1. sudo: required
  2. dist: trusty
  3. group: edge
  4. language: go
  5. go:
  6. - "1.10"
  7. git:
  8. depth: 1
  9. script:
  10. - ./scripts/travis.sh
  11. # calls goreleaser when a new tag is pushed
  12. deploy:
  13. - provider: script
  14. skip_cleanup: true
  15. script: curl -sL http://git.io/goreleaser | bash
  16. on:
  17. tags: true
  18. condition: $TRAVIS_OS_NAME = linux