.travis.yml 919 B

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