.travis.yml 952 B

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