Add travis.

I am not sure that this path is correct since we are not defining java in ``travis`` requirements, but also do we need that line for the tests?