Building Gradle sample in Travis

We should be sure that changes do not brake our Gradle configuration, so we are building both maven and Gradle examples in Travis.
Only the javadoc goal broke i think, but you are right, since we ask our contributors to build with `mvn install`, Travis should do the same.