.travis.yml 967 B

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