ikosen
By:
ikosen

Travis CI integration using git

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

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

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/

Have another answer? Share your knowledge.