.travis.yml 921 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. jobs:
  2. include:
  3. - os: linux
  4. env: BUILDARCH=x64
  5. dist: trusty
  6. - os: linux
  7. env: BUILDARCH=arm64
  8. dist: trusty
  9. - os: linux
  10. env: BUILDARCH=arm
  11. dist: trusty
  12. language: node_js
  13. node_js: "12.14.1"
  14. install:
  15. - node getpwd.js
  16. - curl -o- -L https://yarnpkg.com/install.sh | bash
  17. - export PATH="$HOME/.yarn/bin:$PATH"
  18. - . install_deps.sh
  19. - . get_repo.sh
  20. - . check_tags.sh
  21. script:
  22. - ./build.sh
  23. before_deploy:
  24. - ./sign_mac_app.sh
  25. - ./create_zip.sh
  26. - ./create_dmg.sh
  27. - ./sum.sh
  28. deploy:
  29. provider: releases
  30. skip_cleanup: true
  31. overwrite: true
  32. name: $LATEST_MS_TAG
  33. token: $GITHUB_TOKEN
  34. file_glob: true
  35. file:
  36. - ./*.sha256
  37. - ./*.zip
  38. - ./*.tar.gz
  39. - ./*.dmg
  40. - ./*.deb
  41. - ./*.rpm
  42. - ./*.AppImage
  43. - ./*.AppImage.zsync
  44. on:
  45. all_branches: true
  46. condition: $SHOULD_BUILD = yes
  47. #after_deploy:
  48. #- ./update_version.sh