File tree 1 file changed +21
-13
lines changed
1 file changed +21
-13
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
+
2
3
node_js :
3
4
- 10.15.1
5
+
4
6
env :
5
7
- VSCODE_VERSION="1.33.1" MAJOR_VERSION="1" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER-vsc$VSCODE_VERSION"
8
+
6
9
matrix :
7
10
include :
8
- - os : linux
9
- dist : trusty
10
- - os : osx
11
+ - os : linux
12
+ dist : trusty
13
+ - os : osx
14
+
11
15
before_install :
12
- - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libxkbfile-dev
13
- libsecret-1-dev; fi
14
- -
npm install -g [email protected]
16
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libxkbfile-dev
17
+ libsecret-1-dev; fi
18
+ -
npm install -g [email protected]
19
+
15
20
script :
16
- - scripts/build.sh
21
+ - scripts/build.sh
22
+
17
23
before_deploy :
18
- - echo "$VERSION" "$TRAVIS_COMMIT"
19
- - git config --local user.name "$USER_NAME"
20
- - git config --local user.email "$USER_EMAIL"
21
- - git tag "$VERSION" "$TRAVIS_COMMIT"
22
- - yarn task package "$VERSION"
24
+ - echo "$VERSION" "$TRAVIS_COMMIT"
25
+ - git config --local user.name "$USER_NAME"
26
+ - git config --local user.email "$USER_EMAIL"
27
+ - git tag "$VERSION" "$TRAVIS_COMMIT"
28
+ - yarn task package "$VERSION"
29
+
23
30
deploy :
24
31
provider : releases
25
32
file_glob : true
@@ -36,8 +43,9 @@ deploy:
36
43
on :
37
44
repo : codercom/code-server
38
45
branch : master
46
+
39
47
cache :
40
48
yarn : true
41
49
timeout : 1000
42
50
directories :
43
- - .cache
51
+ - .cache
You can’t perform that action at this time.
0 commit comments