File tree 1 file changed +15
-16
lines changed 1 file changed +15
-16
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
3
3
node_js :
4
- - 8
4
+ - 8
5
5
6
6
sudo : false
7
7
8
8
cache :
9
9
directories :
10
- - ' node_modules'
10
+ - " node_modules"
11
11
12
12
os :
13
13
- osx
@@ -22,16 +22,15 @@ before_install:
22
22
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
23
23
fi
24
24
install :
25
- - npm install
26
- - npm run vscode:prepublish
25
+ - npm install
26
+ - npm run vscode:prepublish
27
27
28
28
script :
29
- # VS Code 1.36.1 fails to start on Linux for an unknown reason.
30
- - if [[ "$TRAVIS_OS_NAME" != "linux" ]]; then npm test --silent; fi
29
+ - npm test --silent
31
30
32
31
before_deploy :
33
- - npm install -g vsce
34
- - vsce package
32
+ - npm install -g vsce
33
+ - vsce package
35
34
36
35
# Deploy the extension to the Marketplace and GitHub releases (only on tags).
37
36
# Note that this only deploys from the master branch, but will still allow
@@ -44,14 +43,14 @@ before_deploy:
44
43
# b) Set a environment variable `VS_TOKEN` with the value of your VS Code personal token
45
44
# c) Make sure `Display value in build log` is turned OFF!
46
45
deploy :
47
- - provider : script # Deploy to VS Code Market Place (only on tags!).
48
- script : vsce publish -p $VS_CODE
49
- skip_cleanup : true
50
- on : # Publish on all builds on master branch.
51
- repo : alanz/vscode-hie-server
52
- branch : master
53
- tags : true
54
- condition : $TRAVIS_OS_NAME = linux
46
+ - provider : script # Deploy to VS Code Market Place (only on tags!).
47
+ script : vsce publish -p $VS_CODE
48
+ skip_cleanup : true
49
+ on : # Publish on all builds on master branch.
50
+ repo : alanz/vscode-hie-server
51
+ branch : master
52
+ tags : true
53
+ condition : $TRAVIS_OS_NAME = linux
55
54
# - provider: releases # Deploy the *.vsix pcakge to GitHub releases.
56
55
# file_glob: true
57
56
# file: "*.vsix"
You can’t perform that action at this time.
0 commit comments