Add travis ci

Add travis ci for continuous integration.