-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from watson-developer-cloud/up
fix: Update dependencies and fix travis
- Loading branch information
Showing
9 changed files
with
476 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
# Environment variables | ||
ASSISTANT_ID= | ||
# You need to provide your IAM API key and URL | ||
ASSISTANT_IAM_APIKEY= | ||
ASSISTANT_IAM_URL= | ||
ASSISTANT_URL=https://gateway.watsonplatform.net/assistant/api | ||
ASSISTANT_URL= | ||
ASSISTANT_IAM_APIKEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
language: node_js | ||
dist: xenial | ||
node_js: "10" | ||
node_js: '12' | ||
cache: | ||
directories: | ||
- node_modules | ||
- node_modules | ||
env: | ||
global: | ||
- BX_APP=watson-conversation-duo-dev | ||
- BX_API=https://api.ng.bluemix.net | ||
- BX_ORGANIZATION=WatsonPlatformServices | ||
- BX_SPACE=demos | ||
- B_DOMAIN=ng.bluemix.net | ||
- BX_APP=watson-conversation-duo-dev | ||
- BX_API=https://api.ng.bluemix.net | ||
- BX_ORGANIZATION=WatsonPlatformServices | ||
- BX_SPACE=demos | ||
- B_DOMAIN=ng.bluemix.net | ||
script: | ||
- npm run build | ||
- npm test | ||
- npm run build | ||
- npm test | ||
|
||
before_deploy: | ||
- npm install -g bx-blue-green | ||
- npm install -g bx-blue-green | ||
deploy: | ||
- provider: script | ||
script: bx-blue-green-travis | ||
on: | ||
branch: master | ||
repo: watson-developer-cloud/assistant-demo | ||
skip_cleanup: true | ||
- provider: script | ||
skip_cleanup: true | ||
script: npx semantic-release | ||
- provider: script | ||
script: bx-blue-green-travis | ||
on: | ||
branch: master | ||
repo: watson-developer-cloud/assistant-demo | ||
skip_cleanup: true | ||
- provider: script | ||
skip_cleanup: true | ||
script: npx semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
## Reporting a bug | ||
|
||
If you encounter an issue with the Node.js library, you are welcome to submit a [bug report](https://github.com/watson-developer-cloud/assistant-demo/issues). Before that, please search for similar issues. It's possible somebody has already encountered this issue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
applications: | ||
- name: watson-assistant-duo | ||
command: npm start | ||
buildpack: sdk-for-nodejs | ||
env: | ||
NODE_ENV: production | ||
- name: watson-assistant-duo | ||
command: npm start | ||
buildpack: sdk-for-nodejs | ||
env: | ||
NODE_ENV: production |
Oops, something went wrong.