-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 2.75 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
language: node_js
node_js:
- 12
sudo: required
dist: bionic
addons:
firefox: latest
chrome: stable
ssh_known_hosts: 46.101.18.83
services:
- xvfb
before_script:
- fluxbox >/dev/null 2>&1 &
- sleep 3
before_deploy:
- npm run build
- cp src/robots.txt dist/
- cp src/.htaccess dist/
deploy:
provider: script
skip_cleanup: true
script: rsync -r --delete-after --quiet $TRAVIS_BUILD_DIR/dist/ $DEPLOY_USER@$DEPLOY_IP:/var/www/$DEPLOY_DIR/
on:
branch: 1.4/release
env:
global:
- secure: msCZwriBfTXEDkrxIDjM4/gYY/PLszi7cKw19OUaOx7HFQ94GNdkHlINOu+s7jmrFA3WGh5di4+obuHitZjRiOCuNcb7bAP8NI2PQybDnx2KWdCxsU/E7c3I9IesDq35txALSTixI7rMU1tuyRu+nI9DyFogy2Bv/10hHmA0aFN1O1tp1/FIS0FGv/H8yAtxeWgiyPLP3AC615qQpPIyR8DX9FrXBFmVEkw3ZprCaLBY++YLjK+3aN8tduOf57yIfjNN4j0vAavGJwI4GhuoBYSWNLKAIxNkTe7mpaROyCKRWrtOUet2MEC/oqcKmI+61/n4TgISUeR2HTMB41FrZMa+fZzk3qf/iBSc94AgY2Wr7vLh9SJQHpnFOpYOYQ/D6FRJ6F8W5b155o3muz27fWqbnPbqmfbN+YXq9TnLG6TlLvFtqNcjr2rpcmEKTe70OYO5+TuFlELGmXRYf9K5UGbXz4dWNvCHSsIZpv0thyvAIQtA9BqnEOjBO+VQSMC4RH94exWy9X8ic9l4A9BuS202xYCNRkpMBS4OTEZDg0y2hncGB/q769CjPT3q7L5HMuT5C+UQVsc1rrW4Kfe7dLI86RkDH+k+TD1cUsYt4XteitfVFw/PzR0xB/frCFcVPvEkifp7XjV96X5eSCuKlUtGyG7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TKBBRy9cDEDgyKs7RaslSchNI7lNZUuBaf0ljOnwy/aspbFKQSI7ISBhw6jjpuX+mGJpIDW4x86Ho+6o3gsmle4plZnUNKcOeOCwSIUTTOF3dZNvpeG0onnXtb6UmHC6BgFFoT5rkx7dyJMOUdfEDwJqsWflZlU52zVQLGfF23m9tqt80pMVbKBjU7KeqawOY2mIY6u4p0nHKt/Ge6jfTSs/epgKX0yLksgQ8jVQHYEQhd0wHyls5oeoPe8eQC+9q1SUO9zc1hRJ10ijGH4sCyis6lEIk4Z5mVSiVW7yNaeUWCHONAYb9Wji+I=
before_install:
- openssl aes-256-cbc -K $encrypted_42b15c9ac0d6_key -iv $encrypted_42b15c9ac0d6_iv
-in market-build.enc -out market-build -d
- eval "$(ssh-agent -s)"
- chmod 600 market-build
- ssh-add market-build