Skip to content

Commit

Permalink
Create .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lhein committed Mar 16, 2018
1 parent c4a681b commit 0bc2d76
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
matrix:
include:
- language: node_js
node_js: "8"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- 'export PATH=./node_modules/.bin:$PATH'
- 'npm install -g typescript'
install:
- 'npm install --ignore-scripts'
- 'npm install'
- 'npm run vscode:prepublish'
- 'npm install -g vsce'
- 'vsce package'
deploy:
provider: releases
api_key: ${DEPLOY_TOKEN}
file:
- "vscode-apache-camel-0.0.1.vsix"
skip_cleanup: true
overwrite: true
on:
branch: master
# tags: true
branches:
only:
- master
cache:
directories:
- "node_modules"
env: DISPLAY=:99

0 comments on commit 0bc2d76

Please sign in to comment.