Added a configuration file for Travis CI

This configuration script tell travis to install dependent libraries, build program and execute make check command.