.travis.yml 1.1 KB

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