Skip to content

Commit e634d6f

Browse files
committed
revert .travis.yml
1 parent 03391ca commit e634d6f

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

.travis.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
language: node_js
22

33
node_js:
4-
- 8
4+
- 8
55

66
sudo: false
77

88
cache:
99
directories:
10-
- 'node_modules'
10+
- "node_modules"
1111

1212
os:
1313
- osx
@@ -22,16 +22,15 @@ before_install:
2222
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
2323
fi
2424
install:
25-
- npm install
26-
- npm run vscode:prepublish
25+
- npm install
26+
- npm run vscode:prepublish
2727

2828
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
3130

3231
before_deploy:
33-
- npm install -g vsce
34-
- vsce package
32+
- npm install -g vsce
33+
- vsce package
3534

3635
# Deploy the extension to the Marketplace and GitHub releases (only on tags).
3736
# Note that this only deploys from the master branch, but will still allow
@@ -44,14 +43,14 @@ before_deploy:
4443
# b) Set a environment variable `VS_TOKEN` with the value of your VS Code personal token
4544
# c) Make sure `Display value in build log` is turned OFF!
4645
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
5554
# - provider: releases # Deploy the *.vsix pcakge to GitHub releases.
5655
# file_glob: true
5756
# file: "*.vsix"

0 commit comments

Comments
 (0)