Add travis CI to test compilation.