We’ve been getting some random travis failures since #11260 was merged, because the ~/.bitcoin
directory exists after tests are run. Not sure exactly what’s causing it, but this PR ensures the directory doesn’t exist before running the build and tests, to see if this fixes the issue.
Edit: travis has been run on this merge twice, and all tests passed both times, so either this fixes the issue or it just got lucky