Update Travis CI configuration for Gradle

Revise build tools to 21.1.2

Add the equivalent Maven build command

Add gradle check command