Adds configuration file for Travis CI

Travis CI is a hosted continous integration service that is integrated
with Github. With the added configuration, Travis CI builds can be
enabled.

Create gradle.properties.

Fix jdk version.

Try before install.