Skip to content

Commit

Permalink
fix: update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed Nov 6, 2019
1 parent c946fc2 commit 32c4b27
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
39 changes: 19 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
language: node_js
dist: trusty
sudo: required
node_js: 8
node_js: 12
script:
- npm run test
- npm run test

cache:
directories:
- node_modules
- node_modules
env:
global:
- BX_APP=watson-assistant-intermediate
- BX_API=https://api.ng.bluemix.net
- BX_ORGANIZATION=WatsonPlatformServices
- BX_SPACE=demos
- BX_APP=watson-assistant-intermediate
- BX_API=https://api.ng.bluemix.net
- BX_ORGANIZATION=WatsonPlatformServices
- BX_SPACE=demos
before_deploy: npm install -g bx-blue-green
deploy:
- provider: script
skip_cleanup: true
script:
- bx-blue-green-travis
on:
branch: master
repo: watson-developer-cloud/assistant-intermediate
- provider: script
skip_cleanup: true
script: npx semantic-release
on:
node: 8

- provider: script
skip_cleanup: true
script: bx-blue-green-travis
on:
branch: master
repo: watson-developer-cloud/assistant-intermediate
- provider: script
skip_cleanup: true
script: npx semantic-release
on:
branch: master
repo: watson-developer-cloud/assistant-intermediate
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"access": "public"
},
"engines": {
"node": ">=8.15.0"
"node": ">=12"
},
"engineStrict": true,
"devDependencies": {
Expand Down

0 comments on commit 32c4b27

Please sign in to comment.