Add .travis.yml

1.http://stackoverflow.com/questions/13051880/is-there-an-example-project-in-c-that-uses-opencv-and-travis-ci

2.http://stackoverflow.com/questions/15050329/need-hosted-ci-server-with-qt4-sqlite3-cmake-git-gcc-for-project-on-github