This repository has been archived by the owner on Jul 15, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
233da55
commit 62cf6c8
Showing
8 changed files
with
4,085 additions
and
888 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
language: node_js | ||
dist: trusty | ||
sudo: required | ||
node_js: 6 | ||
script: | ||
- npm run build | ||
- npm run lint | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
env: | ||
global: | ||
- BX_APP=social-customer-care | ||
- BX_API=https://api.ng.bluemix.net | ||
- BX_ORGANIZATION=WatsonPlatformServices | ||
- BX_SPACE=appgallery | ||
before_deploy: npm install -g https://github.com/andresfvilla/bx-blue-green | ||
deploy: | ||
provider: script | ||
script: | ||
- bx-blue-green-travis | ||
on: | ||
branch: master | ||
repo: watson-developer-cloud/visual-recognition-nodejs | ||
skip_cleanup: true | ||
notifications: | ||
email: false |
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 @@ | ||
|
||
var gulp = require('gulp'); | ||
var wrench = require('wrench'); | ||
|
||
|
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,19 +1,13 @@ | ||
--- | ||
applications: | ||
- disk_quota: 1024M | ||
<% if (bluemix && bluemix.name) { -%> | ||
name: <%= bluemix.name %> | ||
<% } -%> | ||
<% if (bluemix && bluemix.server && bluemix.server.domain) { -%> | ||
domain: <%= bluemix.server.domain %> | ||
<% } -%> | ||
<% if (bluemix && bluemix.server && bluemix.server.host) { -%> | ||
host: <%= bluemix.server.host %> | ||
<% } else { -%> | ||
random-route: true | ||
<% } -%> | ||
memory: 384M | ||
- services: | ||
- natural-language-classifier-service | ||
- personality-insights-service | ||
- tone-analyzer-service | ||
name: social-customer-care | ||
command: npm start | ||
path: . | ||
memory: 512M | ||
instances: 1 | ||
timeout: 180 | ||
buildpack: sdk-for-nodejs | ||
command: npm start | ||
buildpack: sdk-for-nodejs |
Oops, something went wrong.