Publish in Travis

pull/3/head
Felix Becker 2016-09-04 13:58:06 +02:00
parent a7f7da19a9
commit fe35dbe693
1 changed files with 11 additions and 2 deletions

View File

@ -1,12 +1,21 @@
language: node_js language: php
node_js: php:
- '7.0'
- '5.10.0' - '5.10.0'
before_install:
- nvm install 5.10.0
- nvm use 5.10.0
install: install:
- npm install - npm install
- composer install
script: script:
- npm run lint - npm run lint
- npm run compile - npm run compile
after_success:
# If the build was triggered by a tag, publish the new version
- 'if [[ $TRAVIS_TAG == v* ]]; then vsce publish -p $VSCE_TOKEN; fi'