forked from hive-engine/steem-engine-dex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (29 loc) · 857 Bytes
/
.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
dist: trusty
language: node_js
node_js:
- "10"
addons:
ssh_known_hosts: steem-engine.com
deploy:
- provider: script
skip_cleanup: true
script: au build --env prod
on:
branch: master
- provider: script
skip_cleanup: true
script: cd $TRAVIS_BUILD_DIR/dist && rsync -auvhp --delete --exclude=node_modules --delete-after --quiet ./ $REMOTE_USER@$HOST:$REMOTE_APP_DIR
on:
branch: master
before_install:
- openssl aes-256-cbc -K $encrypted_134e9820d8ee_key -iv $encrypted_134e9820d8ee_iv
-in deploy-key.enc -out ./deploy-key -d
- eval "$(ssh-agent -s)"
- chmod 400 ./deploy-key
- ssh-add ./deploy-key
- ssh -i ./deploy-key $REMOTE_USER@$HOST pwd
install:
- npm config set "@fortawesome:registry" https://npm.fontawesome.com/
- npm config set "//npm.fontawesome.com/:_authToken" $FONT_AWESOME_TOKEN
- yarn global add aurelia-cli
- yarn