Skip to content

Commit 6c0fc73

Browse files
committed
made spacing for travis yaml consistent in file
1 parent 22b485a commit 6c0fc73

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

.travis.yml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
11
language: node_js
2+
23
node_js:
34
- 10.15.1
5+
46
env:
57
- VSCODE_VERSION="1.33.1" MAJOR_VERSION="1" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER-vsc$VSCODE_VERSION"
8+
69
matrix:
710
include:
8-
- os: linux
9-
dist: trusty
10-
- os: osx
11+
- os: linux
12+
dist: trusty
13+
- os: osx
14+
1115
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+
1520
script:
16-
- scripts/build.sh
21+
- scripts/build.sh
22+
1723
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+
2330
deploy:
2431
provider: releases
2532
file_glob: true
@@ -36,8 +43,9 @@ deploy:
3643
on:
3744
repo: codercom/code-server
3845
branch: master
46+
3947
cache:
4048
yarn: true
4149
timeout: 1000
4250
directories:
43-
- .cache
51+
- .cache

0 commit comments

Comments
 (0)