.travis.yml 792 B

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