2019-02-22 00:55:42 +07:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2019-07-16 01:23:29 +07:00
|
|
|
- 10.16.0
|
2019-04-26 21:00:15 +07:00
|
|
|
services:
|
|
|
|
- docker
|
2019-02-22 00:55:42 +07:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2019-04-04 02:24:00 +07:00
|
|
|
dist: trusty
|
2019-04-26 20:56:14 +07:00
|
|
|
env:
|
2019-09-13 00:49:28 +07:00
|
|
|
- VSCODE_VERSION="1.38.1" MAJOR_VERSION="2" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER" TARGET="linux"
|
2019-04-26 20:56:14 +07:00
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
env:
|
2019-09-13 00:49:28 +07:00
|
|
|
- VSCODE_VERSION="1.38.1" MAJOR_VERSION="2" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER" TARGET="alpine"
|
2019-02-22 00:55:42 +07:00
|
|
|
- os: osx
|
2019-05-02 23:23:06 +07:00
|
|
|
env:
|
2019-09-13 00:49:28 +07:00
|
|
|
- VSCODE_VERSION="1.38.1" MAJOR_VERSION="2" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER"
|
2019-08-03 07:26:41 +07:00
|
|
|
before_install:
|
|
|
|
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then export MINIFY="true"; fi
|
2019-08-21 07:44:32 +07:00
|
|
|
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then export PACKAGE="true"; fi
|
2019-02-22 00:55:42 +07:00
|
|
|
script:
|
2019-09-13 03:38:53 +07:00
|
|
|
- travis_wait 30 scripts/ci.bash
|
2019-03-05 07:21:29 +07:00
|
|
|
before_deploy:
|
2019-09-13 04:17:18 +07:00
|
|
|
- echo "$VERSION-vsc$VSCODE_VERSION" "$TRAVIS_COMMIT"
|
2019-03-05 07:21:29 +07:00
|
|
|
- git config --local user.name "$USER_NAME"
|
|
|
|
- git config --local user.email "$USER_EMAIL"
|
2019-09-13 04:17:18 +07:00
|
|
|
- git tag "$VERSION-vsc$VSCODE_VERSION" "$TRAVIS_COMMIT"
|
2019-03-05 07:21:29 +07:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
2019-03-05 12:20:57 +07:00
|
|
|
file_glob: true
|
|
|
|
draft: true
|
2019-09-13 00:18:09 +07:00
|
|
|
tag_name: "$VERSION-vsc$VSCODE_VERSION"
|
2019-03-07 07:15:52 +07:00
|
|
|
target_commitish: "$TRAVIS_COMMIT"
|
2019-09-13 00:18:09 +07:00
|
|
|
name: "$VERSION-vsc$VSCODE_VERSION"
|
2019-03-05 07:21:29 +07:00
|
|
|
skip_cleanup: true
|
|
|
|
api_key:
|
2019-03-05 12:20:57 +07:00
|
|
|
secure: YL/x24KjYjgYXPcJWk3FV7FGxI79Mh6gBECQEcdlf3fkLEoKFVgzHBoUNWrFPzyR4tgLyWNAgcpD9Lkme1TRWTom7UPjXcwMNyLcLa+uec7ciSAnYD9ntLTpiCuPDD1u0LtRGclSi/EHQ+F8YVq+HZJpXTsJeAmOmihma3GVbGKSZr+BRum+0YZSG4w+o4TOlYzw/4bLWS52MogZcwpjd+hemBbgXLuGU2ziKv2vEKCZFbEeA16II4x1WLI4mutDdCeh7+3aLzGLwDa49NxtsVYNjyNFF75JhCTCNA55e2YMiLz9Uq69IXe/mi5F7xUaFfhIqqLNyKBnKeEOzu3dYnc+8n3LjnQ+00PmkF05nx9kBn3UfV1kwQGh6QbyDmTtBP07rtUMyI14aeQqHjxsaVRdMnwj9Q2DjXRr8UDqESZF0rmK3pHCXS2fBhIzLE8tLVW5Heiba2pQRFMHMZW+KBE97FzcFh7is90Ait3T8enfcd/PWFPYoBejDAdjwxwOkezh5N5ZkYquEfDYuWrFi6zRFCktsruaAcA+xGtTf9oilBBzUqu8Ie+YFWH5me83xakcblJWdaW/D2rLJAJH3m6LFm8lBqyUgDX5t/etob6CpDuYHu5D1J3XINOj/+aLAcadq6qlh70PMZS3zYffUu3JlzaD2amlSHIT8b5YXFc=
|
2019-03-07 07:15:52 +07:00
|
|
|
file:
|
|
|
|
- release/*.tar.gz
|
|
|
|
- release/*.zip
|
2019-03-05 07:21:29 +07:00
|
|
|
on:
|
2019-05-02 22:24:12 +07:00
|
|
|
repo: cdr/code-server
|
2019-03-05 07:21:29 +07:00
|
|
|
branch: master
|
2019-04-04 02:24:00 +07:00
|
|
|
cache:
|
|
|
|
yarn: true
|
|
|
|
timeout: 1000
|
|
|
|
directories:
|
|
|
|
- .cache
|