forked from SparkPost/support-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 1.31 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
language: php
php:
- '7.1'
install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
- chmod +x wp-cli.phar
- sudo mv wp-cli.phar /usr/local/bin/wp
- sudo apt-get install jq
- cd ./bin && npm install && cd ../
script:
- "./bin/deploy-categories.sh"
- "./bin/deploy-articles.sh"
addons:
ssh_known_hosts:
- 104.197.69.102
branches:
only:
- master
notifications:
email: false
slack:
secure: CpOt8+gXNrpLdtDzPTDfz0bNtgbQ9Xeq6vFiOx30rQmBwuRKVzHuiJZWZlnuxxoe56C3bMr3vPSo2Gr+a50rvtmQbWoP4hF3fZtLPvEl4ITKtcnDB+wksguNKQkC57M7JSNsKaTbmzW4O5sRhiqbluNBfP/8wNrfjvDW4TuHP9P57rGmt9ALK+Z9v+n0YroPbu/rHL6Q0poeLbW+En6uqSPq4wmb3ZH1qCzG/QhigiLG9Qlr+iXnpyAA5z/PZ/+jHXdexUkEtp7owVLcilg9I3pm5DZJOq0nG7neecOBgr86aJp2CVgk5pOjZxBLK4AGG8xNuvB4xhTcQ5BxApfitViRUYEOm/5dELKFCpM5Sk8+1AWsywfL340mmh5KnxW3eM3ri1NKHwCU6r+j1026ERaDEH2T4gERgQBxPvH7bUNncLUYzosMXeozW3D6A+2N75jpvK8lmH/9absBF/tLPz9Ktsr2zpoM3nH84S1vbSKykz1RfmUIPGsO5sH9XEVv+/c+cSUVRgxHSMkQENM/lggrJNWx3dFaMm0Cuh+Y2qfaEGZgcKTVmsZmFES/FDd1I+LYMaLb+kFT8SAPiABtOcEiw4gMpTqMDSuoHCc4+rO7hgM68ol4+JkoaTKQNwoDDDlD94c4KWzmEU2lPbJFbgF9ms94R3QvoBgO6ZmIaDU=
before_install:
- openssl aes-256-cbc -K $encrypted_e85ef5fe888e_key -iv $encrypted_e85ef5fe888e_iv
-in deploy-key.enc -out deploy-key -d
- "./bin/setup.sh"