.travis.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. - ./create_zip.sh
  27. - ./sum.sh
  28. deploy:
  29. provider: releases
  30. skip_cleanup: true
  31. overwrite: true
  32. name: $LATEST_MS_TAG
  33. api_key: $GITHUB_TOKEN
  34. file_glob: true
  35. file:
  36. - ./*.sha256
  37. - ./*.zip
  38. - ./*.tar.gz
  39. - vscode/.build/linux/deb/i386/deb/*.deb
  40. - vscode/.build/linux/rpm/i386/*.rpm
  41. - vscode/.build/linux/deb/amd64/deb/*.deb
  42. - vscode/.build/linux/rpm/x86_64/*.rpm
  43. - vscode/.build/linux/deb/arm64/deb/*.deb
  44. - vscode/out/*.AppImage
  45. on:
  46. all_branches: true
  47. condition: $SHOULD_BUILD = yes