.travis.yml 543 B

1234567891011121314151617181920212223242526272829303132333435
  1. if: tag IS blank
  2. matrix:
  3. include:
  4. - os: linux
  5. sudo: required
  6. - os: osx
  7. language: node_js
  8. node_js: "8"
  9. before_install:
  10. - ./install_deps.sh
  11. - . get_repo.sh
  12. - . check_tags.sh
  13. script:
  14. - ./build.sh
  15. before_deploy:
  16. - ./create_zip.sh
  17. deploy:
  18. provider: releases
  19. skip_cleanup: true
  20. api_key: $GITHUB_TOKEN
  21. file_glob: true
  22. file:
  23. - ./*.zip
  24. - ./*.tar.gz
  25. - vscode/.build/linux/deb/amd64/deb/*.deb
  26. - vscode/.build/linux/rpm/x86_64/*.rpm
  27. on:
  28. all_branches: true
  29. condition: $SHOULD_BUILD = yes