2018-08-13 14:24:40 -04:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
- os: osx
|
2018-08-13 11:14:15 -04:00
|
|
|
|
2018-08-13 14:24:40 -04:00
|
|
|
language: node_js
|
|
|
|
node_js: "8"
|
2018-08-13 11:14:15 -04:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- ./install_deps.sh
|
2018-08-14 10:25:54 -04:00
|
|
|
- . get_repo.sh
|
|
|
|
- . check_tags.sh
|
2018-08-13 11:14:15 -04:00
|
|
|
|
|
|
|
script:
|
|
|
|
- ./build.sh
|
|
|
|
|
|
|
|
before_deploy:
|
|
|
|
- ./create_zip.sh
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
skip_cleanup: true
|
2018-08-13 14:24:40 -04:00
|
|
|
api_key: $GITHUB_TOKEN
|
2018-08-13 11:14:15 -04:00
|
|
|
file_glob: true
|
2018-08-15 11:59:54 -04:00
|
|
|
file:
|
|
|
|
- ./*.zip
|
|
|
|
- ./*.tar.gz
|
|
|
|
- vscode/.build/linux/deb/amd64/deb/*.deb
|
|
|
|
- vscode/.build/linux/rpm/x86_64/*.rpm
|
2018-08-13 11:14:15 -04:00
|
|
|
on:
|
2018-08-14 10:13:34 -04:00
|
|
|
all_branches: true
|
|
|
|
condition: $SHOULD_BUILD = yes
|