Adding travis logic to test.