2020-02-18 05:22:12 +01:00
|
|
|
language: minimal
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- name: Test
|
2020-02-19 05:31:40 +01:00
|
|
|
if: tag IS blank
|
2020-03-24 22:05:07 +01:00
|
|
|
script: ./ci/image/run.sh "yarn && GITHUB_TOKEN=3229b0eec0a1622d6d1d1e00fca5b626070f5a10 yarn vscode && ./ci/ci.sh"
|
2020-02-19 01:06:35 +01:00
|
|
|
deploy: null
|
|
|
|
- name: Linux Release
|
|
|
|
if: tag IS present
|
2020-02-18 19:06:18 +01:00
|
|
|
script:
|
|
|
|
- travis_wait 60 ./ci/image/run.sh "yarn && yarn vscode && ci/release.sh"
|
|
|
|
- ./ci/release-image/push.sh
|
2020-02-18 05:22:12 +01:00
|
|
|
- name: Linux ARM64 Release
|
2020-02-19 01:06:35 +01:00
|
|
|
if: tag IS present
|
2020-02-18 19:06:18 +01:00
|
|
|
script:
|
2020-03-04 21:18:05 +01:00
|
|
|
- ./ci/image/run.sh "yarn && yarn vscode && ci/release.sh"
|
2020-02-18 19:06:18 +01:00
|
|
|
- ./ci/release-image/push.sh
|
2020-02-18 05:22:12 +01:00
|
|
|
arch: arm64
|
|
|
|
- name: MacOS Release
|
2020-02-19 01:06:35 +01:00
|
|
|
if: tag IS present
|
2020-02-18 05:22:12 +01:00
|
|
|
os: osx
|
|
|
|
language: node_js
|
|
|
|
node_js: 12
|
|
|
|
script: yarn && yarn vscode && travis_wait 60 ci/release.sh
|
|
|
|
|
2020-02-26 19:42:57 +01:00
|
|
|
before_deploy:
|
2020-03-03 23:01:22 +01:00
|
|
|
- echo "$JSON_KEY" | base64 --decode > ./ci/key.json
|
2020-02-26 19:42:57 +01:00
|
|
|
|
2020-02-18 05:22:12 +01:00
|
|
|
deploy:
|
|
|
|
- provider: releases
|
|
|
|
edge: true
|
|
|
|
draft: true
|
|
|
|
tag_name: $TRAVIS_TAG
|
|
|
|
target_commitish: $TRAVIS_COMMIT
|
|
|
|
name: $TRAVIS_TAG
|
|
|
|
file:
|
|
|
|
- release/*.tar.gz
|
|
|
|
- release/*.zip
|
|
|
|
on:
|
|
|
|
tags: true
|
2020-02-26 19:42:57 +01:00
|
|
|
- provider: gcs
|
|
|
|
edge: true
|
|
|
|
bucket: "codesrv-ci.cdr.sh"
|
2020-02-27 18:21:40 +01:00
|
|
|
upload_dir: "releases"
|
2020-02-26 19:42:57 +01:00
|
|
|
key_file: ./ci/key.json
|
|
|
|
local_dir: release-upload
|
|
|
|
on:
|
|
|
|
tags: true
|
2020-02-18 05:22:12 +01:00
|
|
|
|
|
|
|
cache:
|
|
|
|
timeout: 600
|
|
|
|
yarn: true
|
2020-03-03 23:11:09 +01:00
|
|
|
directories:
|
|
|
|
- lib/vscode/.build/extensions
|