Question

Travis CI integration using git

Posted August 23, 2015 18.7k views
Ubuntu Git DigitalOcean Python Django Deployment

Is it possible to integrate digital ocean droplets with travis CI

1 comment
  • Yes, and this is how you do it..

    In this project, once a change is committed, a Travis CI build is kicked off, which deploys a Droplet using custom Python script and runs some commands on it using SSH (remotely), checking output from these commands to verify end-to-end functionality.

    Hope that helps.

    – ab1

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

There is no DigitalOcean-specific integration, but you can deploy using a githook to a DigitalOcean droplet. Here is an example of using automated deploys with Travis CI via git:

https://github.com/mbonaci/mbo-storm/wiki/Integrate-Travis-CI-with-your-GitHub-repo

or any number of PaaS solutions that you can install on DigitalOcean:

http://docs.travis-ci.com/user/deployment/

One such PaaS solution with support for Travis CI is Deis:

http://docs.deis.io/en/latest/installing_deis/digitalocean/

Submit an Answer