Add Travis-CI configuration file.

This will build and test the project using Gradle on every commit or
pull request.