Travis tests on branches of non-head commits are failing, because the depth of 1 doesn't allow checking them out.
E.g.: https://travis-ci.org/bitcoin/bitcoin/jobs/360227253
Remove depth as was the case before fa44af5cd2152a21da9ef3e48c073a668bf2df27, so that Travis can determine the minimum depth to check out.