vscodium/.travis.yml

52 lines
1 KiB
YAML
Raw Normal View History

2018-08-13 14:24:40 -04:00
matrix:
include:
- os: linux
sudo: required
2019-04-05 13:13:11 -04:00
env: BUILDARCH=x64
- os: linux
sudo: required
env: BUILDARCH=ia32
2019-04-13 23:45:55 -04:00
# arm64 builds don't work yet
# - os: linux
# sudo: required
# env: BUILDARCH=arm64
2018-08-13 14:24:40 -04:00
- 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:
2018-11-13 11:58:05 -05:00
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
- . 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
- ./trigger-azure.sh
2018-08-13 11:14:15 -04:00
before_deploy:
- ./create_zip.sh
- ./sum.sh
2018-08-13 11:14:15 -04:00
deploy:
provider: releases
skip_cleanup: true
2018-09-10 16:18:00 -04:00
overwrite: true
name: $LATEST_MS_TAG
2018-08-13 14:24:40 -04:00
api_key: $GITHUB_TOKEN
2018-08-13 11:14:15 -04:00
file_glob: true
file:
- ./*.sha256
- ./*.zip
- ./*.tar.gz
- vscode/.build/linux/deb/i386/deb/*.deb
- vscode/.build/linux/rpm/i386/*.rpm
- vscode/.build/linux/deb/amd64/deb/*.deb
- vscode/.build/linux/rpm/x86_64/*.rpm
- vscode/.build/linux/deb/arm64/deb/*.deb
2018-08-13 11:14:15 -04:00
on:
2018-08-14 10:13:34 -04:00
all_branches: true
condition: $SHOULD_BUILD = yes