Added travis-ci integration

job done, and i have added the testcase to test your class and check whether "INFO: Done training" is in output, and added the build icon to README.

Follow the steps:
1.goto https://travis-ci.org/, Sign with github.
2.goto https://travis-ci.org/profile, select the project you need CI.
3.Edit the README.md, modify the https://travis-ci.org/sanigo/contractor-recommendations.png to your name. and do a git push.