Fixes env var to TERM for readability purpose on travis log when building with gradle

Wrote `env` instead of `TERM`, also cleaned up the `.travis.yml` file