Add travis ci

Add travis ci configuration so we can have a nice build status for the main branch and the PRs.