mirror of
https://github.com/seigler/dash-website
synced 2025-07-26 23:06:09 +00:00
34 lines
882 B
YAML
34 lines
882 B
YAML
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
|
|
- 74.70.165.55
|
|
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
|