-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
35 lines (34 loc) · 1.49 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
notifications:
email: false
slack:
rooms:
secure: XZXu/nKH0fgld3Nnf2KIXHMzXUUDZpo+lsmyf0KI7cIkxBuy21yQuZvYa2bBW/34K2Z7lxck+l1wl8+jiAXkxhkM16M+ZJMgmBG5+3v7vCRAVhA9KF8m51Mm2loEvtfnNU4Uyr/sy3dOlIZcdu/0jNF9rD0AlGuA5SxjumOVLhB3fDiIrZfwe/9baG03H2YyIZWlh+tNlHWo2sjYRcblGcIjwl7nILAqh/0oWGmK7ao9TTJhQxVJmkNYWyocnUFp4hdKlNnYahK2zKwT4OAZ157gRMRia+lPdBndAYW0o57DPqPcp5+CDJfl+3zlbII9RVkyIqZC/pszT+f6LcaQzXIkjVmZ52Cv3lZVlRx3QVzyhH5qv0TIMsC7p+s89idLdoSX6nOmF0rie99bWCtRzzX0q7Acv/3joqFpyfMNzdpUWEPRB43vBo0yz2NM011vwZRdAlcErKBUy4oMqPsbgRu+hU80NHE4sX7Y2+iBk6CICT5vdV+xgklFeLeEiLCk1ixlQ51rFGomocNFIJJBNUsqLM4BY52SMxuJtrFQEo/lvHD23OKrJ2nx+bLYHbT3JjMyqPgfcD0wj60Y3iDK/xCS1UivYGF63lVM2pLempKZWNln/9kP77srXeRQUTGsXfE6c1Fc+EczT9m2H4nUgoPwtOJyLGW2TKIPA2S0ex4=
on_success: never
on_failure: always
language: node_js
node_js:
- '7'
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- sshpass
install:
- yes | npm install
- npm run compile-weavejs
- pushd WeaveApp
- npm install
- npm run copy-typings
- npm run build
- popd
after_success:
- pushd WeaveApp/dist/ && tar -zcvf ../../$TRAVIS_BRANCH.tgz * && popd
- export SSHPASS=$DEPLOY_PASS
- sshpass -e scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $TRAVIS_BRANCH.tgz
$DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH
- sshpass -e ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $DEPLOY_USER@$DEPLOY_HOST
"sudo $DEPLOY_PATH/deploy.sh $TRAVIS_BRANCH $TRAVIS_EVENT_TYPE"
caches:
directories:
- node_modules/flexjs