Added a configuration file for Travis CI

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