BPM Dev Docs

Travis CI Automated Build & Deployment

NOTE: Always use travis-ci.com, not travis-ci.org (deprecated)

Install Travis CI Command Line Tool

gem install travis # (requires Ruby 1.9.3 or higher, check with ruby -v)

Login with GitHub account that’s been authorized with Travis CI

travis login --com
ssh-keygen -t rsa -b 4096 -C 'build@travis-ci.org' -f ~./.ssh/deploy_rsa

Encrypt the ssh key and add to Travis CI Environment variables

travis encrypt-file ~/.ssh/deploy_rsa --add --com

Make sure that target directory exists on server and create it if it doesn’t with FTP or SSH, otherwise rsync will generate an error since it can’t create the parent directories.

Configuration Files: