Added a configuration file for Travis CI

This script tell travis to install dependent libraries, build program and execute make check command.
This is a pull request for testing travis ci.