forked from watson-developer-cloud/speech-javascript-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (57 loc) · 3.9 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
language: node_js
node_js:
- stable
sudo: required
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- npm test
- sed -i "s/\/master\//\/$TRAVIS_BRANCH\//g" README.md
- npm run doc
after_success:
- scripts/jsdoc/publish.sh
env:
global:
- secure: Bx6pW0ihp3Y2dW5a8fkPhbMKsVg7MRfCzN3laN/OL7vTy2etIDXFleddE5No74HVQ1gPhkOIoRko/pHPdzWGNq69VtoCxp3AdISsuillYcaDCfRXDBSZXbHVuXsUHFQIABIdKJZZVjjwXM4oulL4OWboZ8FWV7vgOBvN4ZrXjM8LfuahSG51cPbPktqa+v/rA03iuWwC8IUDhf5w2uNPrsvtzWmj+CHcpLIgjmJWan+SiJXK/i3Wz/B74Cb0RtP9Y7zJzIGSWg8Z1VruN/f8xoNeSbMz5HM+PMhGyQJ9QXUNEqUEiXG+gwIzhAYRwBbCGyQZME5zk/y7QM0lr3/4NBzq8e6RYWlyOVLRGxlL6SvPmQ/6FrMCe9QDcMnvDvfeYhTHa6SnkqymN1hp1JnPC65zXENbEOLJH/67mQs/WoHLuuZycUK0KPC+GK6Bc45ViXotyNTttzrxHfpOV4IXQDVqB6p6tlh940ksYpetSs+8s7piUOGIcu4XtYxdnSRGX7TwKiCuuK65XWYpk+oMWhKHsOS2FTDt85+PXKFnM1fiuFD+Oppa7xyXmSUZp4C1befd7nP7F5RGSkZWdfXuCY6xAS6E7dho4clIua2yhOWtgnoMlcjjht6sFYf8OEk3eoVvnP+OO3VSHwk0VkTbI3E3fp3H8CUXVMk9woegydQ=
- CF_APP=watson-speech
- CF_API=https://api.ng.bluemix.net
- CF_ORGANIZATION=WatsonPlatformServices
- CF_SPACE=sdks
- secure: NDOdoAt1bjGspsU9CZl494GW9OEC9J56OCJloyfd0KGkDmKLNpYGw5eHXmJfLVqKAvldhOpjp0aNSrrwVcT2qvE2dhtYkL+a5hVMZFr7DdfOtZze/MIdCpoQhZQz8+wQa82crGgf+cTL2Y+BndkQoDk5mMo/3sAf512euHTHJXb+9DZ36ZJYIK/hVTfzZMdUUH7059rYeUADhXXcbu1Va+cJHXr2xRFI8ZEdZfZ0V1jDEqPyi/hwDYODgsTpk/4jRFlkZu2Agxq2kOETeuJYiTJ7O9Q1qhY3rSAgu/rvQK8+Y7ngTxWS8rStOOr8CNXJtmZdM0zpz6RbmQEhR5Xk4s8aX1rxPDj06/Cx7BVWKZWb7wGJETjKq/+NLv/tK9tXDVZ5oBj/H9VkUm2gWqWCKaAge9xW+wuh/LluGMZIx+pTDI94AbgIZnxP2HoALmGIvyim7AquvQqaqIqVR3XTXZUccYM5yRCkxHknZbbL/hX4GOM/I1Ue24d5wt4okkGV2R/DNWYfnajB7GZOTvK5/kn7x6bJpU0Ls9ZYW+4V0zUO/3g5KalU3Cire/dSOC7WzrL823koEgpF9KCVjtCCsj1wMZI099FTGFljqfzlVKMy4Sw4tafRjpkQQT3GLoX1CV/B4n4BDOySoGBPlM0JYiEua+J5GNpeq34n38bwn4g=
before_deploy:
- npm run build
- npm install -g cf-blue-green
deploy:
- provider: releases
api_key:
secure: H5ykqiOnawQxu/tjHtEKAWy2BivWD3gZI8EljVejqQO+kJLcDqJA6qjj1cCQ6kNHoEgAW8se0F9EXGpIpDt8w0Bj7t0hpzT+F/zVvAhWFTKoheugQzkvIrZzBQH1Szg2I25O1PR+f5jwu1vpnPNiu2axU85hIF8eHiscwwHd7UuD7kyGHFEBqiGp+mSDhrwMeEGDdpiojN8uHd2YFFDRZPCqdu+Sft7Y0PmUMFpMSmqQ9pttYDf27K9jowYcT7Qh8XCjX+3p/RXQcSQM6gp4mRo9bcYhPTcZeA0S5Bo/yiDE9QfiD6+pj7u6yGJG8yDZouiVwclA0Pjaf9ntjW1aKNeqBthYfxYq0XJ9Ac3GJvwdQm2lbcsvHFrr106yNlJCHrRd3CiW34MfPn+RrjmEjPMYzGYd1qEEbyAEx/oA6g7LCi/f3ZwQPBsrr9ChhdsfyCvTDzwz5NpxuV2ybqLL4fEGMJdIuFmGUlVWKhbsBZouPFsFz5FTDdHsap+s4WErpQXmUv69zC9ueQOPyRdNzRw6mnN0n4pFXJiIWcolCiK5wUjbUITD6rfvUd4U/4jU0YAk824nivlesTWInmQSTmYvQWi6XJ+LX8XxJwGf4Vw8qJc66RKP+Y2mNyvQu2uUebT1TObY6VhMYGj2gYi+pVzc9NyD25U//8JxgIt1b2c=
file:
- dist/watson-speech.js
- dist/watson-speech.min.js
skip_cleanup: true
on:
tags: true
repo: watson-developer-cloud/speech-javascript-sdk
- provider: npm
email: [email protected]
api_key:
secure: SPayKFCZfsEznCkOuH/tX9R1ZmtZZ98JkPOv6AiVatGrFIsAx0WWQWyebx1X9dvtxznTwslP0u/nv+i5ErtMdjutyhylz/rwJ7v1s0vR8+4E8JpnPOIOHX1YWybCz38N6u7Ue6+Km4AxmtnTeEhfChn3R4qgJK3qlit8GRxpOlBzUWDFbUYHz6TZOn3YnU2i1bruxcWLwfwXs0Pef1tIZrNC3LrvqpU39REX+vAFMSCTN+1F7u/Aax+zSp2POJkbpV9ijVXtQiNW643Di8XkaeGedzt7L/VtNG+6iJ//fqpULwYktTSdlNzwvNdu8IJ70VmhTOxVWWTcBlJOQNkjHXcU/E3N7keieQo7yE1dWoignNqUrTOaQIOnLxbmfjWAsRsieMSPNRIRvboXJfA5oppZ5lhfiAkyfJV8rNzc9Yt+KWO9uLbdfYJjok7CnICzlPhn2Ho7NHpfqLpJiT/V52C8I0UDMEDBMxCDee2/zHqoTJzzdJpbsGG/6LaEiLoO6+GWnreeBLlPSCE3GmIB1sJGaqJ7Zyfo0/LdTnCM+R2QHh1ju4YGLk8EKsSYfmlDRuat+qCstjOAEmpz3OmJENRAmTMHDkyaPL5v0RuR4S9uN/mlvAEPhSn4w4CZwuWLEpHolG4Zb7ltTgTsE6k4NpWUo2tx/uSb/D4cVzWB4u4=
skip_cleanup: true
on:
tags: true
repo: watson-developer-cloud/speech-javascript-sdk
- provider: script
script: cd examples/ && cf-blue-green-travis
skip_cleanup: true
on:
branch: master
repo: watson-developer-cloud/speech-javascript-sdk
- provider: script
script: scripts/create_semver_tag.sh
skip_cleanup: true
on:
branch: master
repo: watson-developer-cloud/speech-javascript-sdk