Continous Integration and Deployment with Travis and Digital Ocean
In this article I will be showing how you can create continuous integration and deployment for you app development process. In other words, I'll be showing you how you can create a Build-Test-Deploy process while developing your app.
The goal is that when you edit my code locally, commit the changes, then push to github, tests will run automatically against the update you made in the code and if all tests were passed, the deploy process will be initiated, otherwise, the deploy process will not be initiated. That is the summary of what we're going to be doing.
To demonstrate this, I will be deploying a Laravel app in this article, the focus is not on the coding aspect but on the integration and deployment aspect. I will assume that the Laravel project to be deployed has tests and is ready for deployment. Once the concept in this article is gotten, it can be applied to other forms of deployment that follows the Build-Test-Deploy cycle.