travis will need the username/api_key fix for the assemble stage as well. Also try to better console output. Reference: http://stackoverflow.com/questions/17942819/how-can-i-get-clean-gradle-output-on-travis-ci