Enable Travis CI for Java and CPP unit tests