.travis.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. sudo: false
  2. language: go
  3. go:
  4. - 1.15.x
  5. - 1.16.x
  6. before_install:
  7. - export PATH=/home/travis/gopath/bin:$PATH
  8. install:
  9. - export CGO_ENABLED="0"
  10. - go env
  11. script:
  12. - env GO111MODULE=on go test ./weed/...
  13. before_deploy:
  14. - make release
  15. deploy:
  16. provider: releases
  17. skip_cleanup: true
  18. api_key:
  19. secure: ERL986+ncQ8lwAJUYDrQ8s2/FxF/cyNIwJIFCqspnWxQgGNNyokET9HapmlPSxjpFRF0q6L2WCg9OY3mSVRq4oI6hg1igOQ12KlLyN71XSJ3c8w0Ay5ho48TQ9l3f3Iu97mntBCe9l0R9pnT8wj1VI8YJxloXwUMG2yeTjA9aBI=
  20. file:
  21. - build/linux_arm.tar.gz
  22. - build/linux_arm64.tar.gz
  23. - build/linux_386.tar.gz
  24. - build/linux_amd64.tar.gz
  25. - build/linux_amd64_large_disk.tar.gz
  26. - build/darwin_amd64.tar.gz
  27. - build/darwin_amd64_large_disk.tar.gz
  28. - build/windows_386.zip
  29. - build/windows_amd64.zip
  30. - build/windows_amd64_large_disk.zip
  31. - build/freebsd_arm.tar.gz
  32. - build/freebsd_amd64.tar.gz
  33. - build/freebsd_386.tar.gz
  34. - build/netbsd_arm.tar.gz
  35. - build/netbsd_amd64.tar.gz
  36. - build/netbsd_386.tar.gz
  37. - build/openbsd_arm.tar.gz
  38. - build/openbsd_amd64.tar.gz
  39. - build/openbsd_386.tar.gz
  40. on:
  41. tags: true
  42. repo: chrislusf/seaweedfs
  43. go: 1.16.x