Travis integration

Added travis to prevent merging on failed builds.