Revert "Ensure successful builds don't invalidate the travis build cache"

This reverts commit f799af441b53cd958d90203abdee587009b5252e.