-
Notifications
You must be signed in to change notification settings - Fork 281
/
.travis.yml
34 lines (32 loc) · 1.58 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
language: node_js
node_js:
- lts/*
notifications:
email: false
before_install:
- npm install --global [email protected] nyc mocha [email protected]
- cd tools/ && npm install && cd ..
install:
- printf "//botbuilder.myget.org/F/botbuilder-v4-js-daily/npm/:_authToken=${MyGet_API_KEY}" >> ~/.npmrc
- npm run update-versions
- lerna bootstrap --hoist
script:
- npm run test:travis
- npm run tslint
after_success:
- echo TRAVIS_EVENT_TYPE = $TRAVIS_EVENT_TYPE
- test $TRAVIS_EVENT_TYPE = "cron"
&& echo Begin deploy
&& npm publish libraries/botbuilder --registry=https://botbuilder.myget.org/F/botbuilder-v4-js-daily/npm/
&& npm publish libraries/botbuilder-ai --registry=https://botbuilder.myget.org/F/botbuilder-v4-js-daily/npm/
&& npm publish libraries/botbuilder-azure --registry=https://botbuilder.myget.org/F/botbuilder-v4-js-daily/npm/
&& npm publish libraries/botbuilder-core --registry=https://botbuilder.myget.org/F/botbuilder-v4-js-daily/npm/
&& npm publish libraries/botbuilder-dialogs --registry=https://botbuilder.myget.org/F/botbuilder-v4-js-daily/npm/
&& npm publish libraries/botbuilder-applicationinsights --registry=https://botbuilder.myget.org/F/botbuilder-v4-js-daily/npm/
&& npm publish libraries/botframework-config --registry=https://botbuilder.myget.org/F/botbuilder-v4-js-daily/npm/
&& npm publish libraries/botframework-connector --registry=https://botbuilder.myget.org/F/botbuilder-v4-js-daily/npm/
&& npm publish libraries/botframework-schema --registry=https://botbuilder.myget.org/F/botbuilder-v4-js-daily/npm/
&& echo End deploy
env:
global:
- Version=4.2.0