forked from dashpay/dash-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 885 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
32
33
34
language: node_js
node_js:
- 4.5.0
before_script:
- chmod +x ./cibuild.sh
- ssh-keyscan -H -t rsa,dsa $hostname >> ~/.ssh/known_hosts
script: "./cibuild.sh"
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- CXX=g++-4.8
sudo: false
addons:
ssh_known_hosts:
- $hostname
- 146.185.153.42
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- openssl aes-256-cbc -K $encrypted_2cd39daa8a1b_key -iv $encrypted_2cd39daa8a1b_iv -in dash.org-test-web.pem.enc -out dash.org-test-web.pem -d
- rvm install 2.3.1
before_deploy:
- eval "$(ssh-agent -s)"
- chmod 600 $TRAVIS_BUILD_DIR/$IdentityFile
- ssh-add $TRAVIS_BUILD_DIR/$IdentityFile
deploy:
provider: script
skip_cleanup: true
script: rsync -r -c -v --delete-after --exclude-from 'ciexclude.txt' $TRAVIS_BUILD_DIR/_site/ $user@$hostname:$production_path
on:
branch: master