This Project is used to demonstrate how to integrate Travis-CI, CodeCov, GitHub and Heroku.
- GitHub: To push the code and trigger the Travis CI.
- Travis CI: To run the tests and build the code for production.
- Heroku: To deploy the code automatically once the tests/build is passed successfully.
- CodeCov:To measure the test coverage of your codebase
Apart from having accounts created in above mentioned applications you will also have to make integrations between
Travis-CI and Github and for that do check following documentation.
next step is to use CodeCov with travis-Ci and a great tutorial could be found here.
Here i have used python to build up a simple web application using Flask. This will expose an endpoint where you will be able to get the consolidated results of two web URI's.
https://api.mentimeter.com/questions/48d75c359ce4 https://api.mentimeter.com/questions/48d75c359ce4/result
Here you can see how all integrations work (except CodeCov).
Image Ref