Added travis ci script for automatic build checks on commit.