2019-02-21 20:55:42 +03:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- 8.9.3
|
2019-03-07 03:15:52 +03:00
|
|
|
env:
|
|
|
|
- VERSION="1.31.1-$TRAVIS_BUILD_NUMBER"
|
2019-02-21 20:55:42 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: ubuntu
|
|
|
|
- os: osx
|
|
|
|
before_install:
|
2019-03-05 08:20:57 +03:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libxkbfile-dev
|
|
|
|
libsecret-1-dev; fi
|
2019-02-21 20:55:42 +03:00
|
|
|
script:
|
|
|
|
- scripts/build.sh
|
2019-03-05 03:21:29 +03:00
|
|
|
before_deploy:
|
2019-03-07 03:15:52 +03:00
|
|
|
- echo "$VERSION" "$TRAVIS_COMMIT"
|
2019-03-05 03:21:29 +03:00
|
|
|
- git config --local user.name "$USER_NAME"
|
|
|
|
- git config --local user.email "$USER_EMAIL"
|
2019-03-07 03:15:52 +03:00
|
|
|
- git tag "$VERSION" "$TRAVIS_COMMIT"
|
|
|
|
- yarn task package "$VERSION"
|
2019-03-05 03:21:29 +03:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
2019-03-05 08:20:57 +03:00
|
|
|
file_glob: true
|
|
|
|
draft: true
|
2019-03-07 03:15:52 +03:00
|
|
|
tag_name: "$VERSION"
|
|
|
|
target_commitish: "$TRAVIS_COMMIT"
|
|
|
|
name: "$VERSION"
|
2019-03-05 03:21:29 +03:00
|
|
|
skip_cleanup: true
|
|
|
|
api_key:
|
2019-03-05 08:20:57 +03: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 03:15:52 +03:00
|
|
|
file:
|
|
|
|
- release/*.tar.gz
|
|
|
|
- release/*.zip
|
2019-03-05 03:21:29 +03:00
|
|
|
on:
|
|
|
|
repo: codercom/code-server
|
|
|
|
branch: master
|