.travis.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. - os: osx
  13. osx_image: xcode12
  14. env: OSX_INSTALL_DEPS=1
  15. - os: osx
  16. osx_image: xcode12
  17. env: OSX_BUILD=1
  18. language: node_js
  19. node_js: "12.14.1"
  20. install:
  21. - curl -o- -L https://yarnpkg.com/install.sh | bash
  22. - export PATH="$HOME/.yarn/bin:$PATH"
  23. - . install_deps.sh
  24. - . get_repo.sh
  25. - . check_tags.sh
  26. script:
  27. - ./build.sh
  28. before_deploy:
  29. - ./sign_mac_app.sh
  30. - ./create_zip.sh
  31. - ./create_dmg.sh
  32. - ./sum.sh
  33. deploy:
  34. provider: releases
  35. skip_cleanup: true
  36. overwrite: true
  37. name: $LATEST_MS_TAG
  38. token: $GITHUB_TOKEN
  39. file_glob: true
  40. file:
  41. - ./*.sha256
  42. - ./*.zip
  43. - ./*.tar.gz
  44. - ./*.dmg
  45. - ./*.deb
  46. - ./*.rpm
  47. - ./*.AppImage
  48. - ./*.AppImage.zsync
  49. on:
  50. all_branches: true
  51. condition: $SHOULD_BUILD = yes
  52. # after_deploy:
  53. # - ./update_version.sh