.travis.yml 1.1 KB

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