dash-website/.travis.yml
2016-09-13 10:54:47 -04:00

25 lines
664 B
YAML

language: ruby
rvm:
- 2.3.1
before_script:
- chmod +x ./script/cibuild
script: "./script/cibuild"
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
sudo: false
addons:
ssh_known_hosts: $hostname
before_install:
- openssl aes-256-cbc -K $encrypted_4395499fa958_key -iv $encrypted_4395499fa958_iv
-in dash.org-test-web.pem.enc -out dash.org-test-web.pem -d
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 --delete-after --quiet $TRAVIS_BUILD_DIR/_dist $user@$hostname:$production_path
on:
branch: master