travis: retry tests before giving up
depends: respect CPPFLAGS when configuring with depends
travis: use DEBUG_LOCKORDER for our quick/small Linux build
Merge pull request #4932 from theuni/travis

Travis tweaks