travis: set dumb terminal for gradle

see http://stackoverflow.com/a/21841688/4308