Adds Travis Cl support to test the code automatically.