Add travis ci for building and testing automatically