2016-05-25 21:56:43 +03:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2017-07-08 02:12:17 +03:00
|
|
|
- 7
|
|
|
|
|
2017-07-27 23:23:12 +03:00
|
|
|
before_install:
|
|
|
|
- npm config set "//registry.npmjs.org/:_authToken=\${NPM_API_KEY}"
|
|
|
|
|
2017-07-14 00:11:54 +03:00
|
|
|
before_script:
|
2017-07-13 02:21:30 +03:00
|
|
|
- lerna bootstrap
|
2017-07-11 01:31:41 +03:00
|
|
|
|
|
|
|
script:
|
2017-07-13 02:21:30 +03:00
|
|
|
- npm test
|
2017-07-08 02:12:17 +03:00
|
|
|
|
|
|
|
after_success:
|
2017-07-27 23:23:12 +03:00
|
|
|
- script/after_success
|
|
|
|
|
|
|
|
deploy:
|
2017-07-28 23:53:40 +03:00
|
|
|
# publish release candidates on release branches
|
|
|
|
- provider: sript
|
|
|
|
script: script/release-candidate
|
|
|
|
on:
|
|
|
|
branch: /^release/
|
|
|
|
|
2017-07-27 23:23:12 +03:00
|
|
|
# publish "final" releases on master
|
|
|
|
- provider: script
|
|
|
|
script: script/release
|
|
|
|
on:
|
|
|
|
branch: master
|
2017-07-22 01:55:51 +03:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
slack:
|
|
|
|
secure: W9lPRuuPMNwElkXZ8UZtu5phgUNleDCK0PgERa28dkh5b0Y9xzRpIQPRJfqVYAPtnMVXhfYcqryMzA4oj0E4fc7OxQsKmMeF1OcTuj5N4CM5xXR/qXDehOUTp6fpCToIX9d4hZ2H///PCExpul3TcfxYJe6EWQCHYd1n6zKRl8g=
|