-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
39 lines (39 loc) · 1.79 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
language: node_js
node_js:
- "8"
dist: precise
install: npm install
before_deploy:
- openssl aes-256-cbc -k "$travis_key_password" -in travis-react-ui-validations-deploy-key.enc -out travis-react-ui-validations-deploy-key -d
- openssl aes-256-cbc -K $encrypted_3dc8e05ce6db_key -iv $encrypted_3dc8e05ce6db_iv -in .npmrc.enc -out .npmrc -d
- chmod 600 travis-react-ui-validations-deploy-key
- chmod 600 .npmrc
- eval `ssh-agent -s`
- ssh-add travis-react-ui-validations-deploy-key
- git config --global user.name "Travis CI"
- git config --global user.email "[email protected]"
- npm install
- npm run docs-publish
- npm run build:retail-ui
- npm run build:react-ui
- npm run bundle-dts
- npm run prepare-packages
- pushd build
- pushd retail-ui-dist
- npm publish
- popd
- pushd react-ui-dist
- npm publish
- popd
- popd
deploy:
provider: script
skip_cleanup: true
script: echo done
on:
tags: true
repo: skbkontur/react-ui-validations
branch: master
env:
global:
secure: YAJjttuthtr3NlA10Tfwst4p9hiyiPMYF8qKR8SUD+La+u3Igk4YnVVtzAUUkTTBw76Nc7+MrmTjBpBEtBkO/WifdxeqyRCK7VtYPRvDleZ6uEVaZyAuSdHhjl8W8qSUDTckDctB04asEfW8LK7HXqvKT/V/2dZbI2AVAIZMcSAFJffYptBb9FKKQCl8a4iGP4IiVsbCL3o2Ytt33vLs6oyU2n/Q5Nf7dAGdqfKrzfGx7mF7vNsdW9athYEgOWWk/7+tuaqzuSnHw2QT91upskpoMbu/D5d4hqLX2Xyf2QR727SqIhtn5ZAPFi8h9fgu3/z7iy62CQFIOU9GkeD+xG8WZLrLGKIdyIo6ANVbFSqgS89wFCeCmWdWQuJ4oZuYGSmKpW3B2GqNEuL+ukqEqbaD6r0gCGgjMIlnQsyT1RhzxlBlJlfKsRUfg1igcJsQtlJwVB2noQwnI54tXvrq+LyB6QvA+/KQ2+p2i4wcjy146KoGLmA6whrwsSWJhOPrgPwWHRLmWk45rjfIux0JSmTulHkLudkT8YG+BSsNCwc0HhhCQajzetsK8EJgeGOTs0n7tu72m1LUjoie3qO618mx6KLMUi4A5VZDmpSzlMHQw+kwxW7LH2uIVXCdp0bPZGz8x4TRc614+yTnDD47XkaP/BprcxJJT4yAch5iFC0=