1 | machine:
|
2 |
|
3 | node:
|
4 | version: 7.1.0
|
5 |
|
6 |
|
7 | dependencies:
|
8 | override:
|
9 | - npm install
|
10 |
|
11 |
|
12 | test:
|
13 | override:
|
14 | - npm test
|
15 |
|
16 |
|
17 | deployment:
|
18 | publish:
|
19 | branch: master
|
20 | commands:
|
21 | - git config --global user.email "bot@quantmind.com"
|
22 | - git config --global user.username "qmbot"
|
23 | - git config --global user.name "Quantmind Bot"
|
24 | - cd && git clone git@github.com:quantmind/giottojs.org.git
|
25 | - cd && echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
|
26 | - npm run-script release
|
27 |
|
\ | No newline at end of file |