Skip to content

Commit c3d4b7e

Browse files
committed
Merge branch 'master' into assistant-patches
2 parents ea28bf3 + 5b7ffd5 commit c3d4b7e

File tree

6 files changed

+12
-125
lines changed

6 files changed

+12
-125
lines changed

.travis.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@ node_js:
44
- 6
55
- 8
66
before_install:
7-
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_ac3aacad7ba8_key -iv $encrypted_ac3aacad7ba8_iv
8-
-in secrets.tar.enc -out test/resources/secrets.tar -d || true'
9-
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && cd test/resources/ && tar xvf secrets.tar && cd ../.. || true'
7+
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_ac3aacad7ba8_key
8+
-iv $encrypted_ac3aacad7ba8_iv -in secrets.tar.enc -out test/resources/secrets.tar
9+
-d || true'
10+
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && cd test/resources/ && tar xvf secrets.tar
11+
&& cd ../.. || true'
1012
- npm install -g typescript
1113
script:
1214
- tsc
13-
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ];
14-
then npm run test-travis;
15-
else
16-
npm run test-unit-travis;
17-
fi
15+
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then npm run test-travis; else npm run
16+
test-unit-travis; fi
1817
- sh scripts/typedoc/generate_typedoc.sh
1918
after_success:
2019
- npm run report-coverage

examples/personality_insights.v2.js

Lines changed: 0 additions & 81 deletions
This file was deleted.

secrets.tar.enc

-10 KB
Binary file not shown.

test/integration/adapter.personality_insights.v3.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ const TWENTY_SECONDS = 20000;
1111
describe('personality_insights_v3_adapter_integration', function() {
1212
jest.setTimeout(TWENTY_SECONDS);
1313
const mobydick = fs.readFileSync(path.join(__dirname, '../resources/mobydick.txt'), 'utf8');
14-
auth.personality_insights.v3.version = 'v3';
15-
auth.personality_insights.v3.version_date = '2016-10-19';
16-
const personality_insights = watson.personality_insights(auth.personality_insights.v3);
14+
auth.personality_insights.version = 'v3';
15+
auth.personality_insights.version_date = '2016-10-19';
16+
const personality_insights = watson.personality_insights(auth.personality_insights);
1717

1818
it('profile()', function(done) {
1919
const params = {

test/integration/personality_insights.v2.test.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

test/integration/personality_insights.v3.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ describe('personality_insights_v3_integration', function() {
1212
jest.setTimeout(TWENTY_SECONDS);
1313

1414
const mobydick = fs.readFileSync(path.join(__dirname, '../resources/mobydick.txt'), 'utf8');
15-
auth.personality_insights.v3.version = '2016-10-19';
16-
const personality_insights = new watson.PersonalityInsightsV3(auth.personality_insights.v3);
15+
auth.personality_insights.version = '2016-10-19';
16+
const personality_insights = new watson.PersonalityInsightsV3(auth.personality_insights);
1717

1818
it('profile with text content', function(done) {
1919
const params = {

0 commit comments

Comments
 (0)