.travis.yml 1.2 KB

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