Try advice from https://twolfson.com/2013-09-22-debugging-travis-ci