Add after_failure hook to check remaining disk space in Travis

Check https://github.com/travis-ci/travis-ci/issues/968