3.0 travis fixes

After literally trying everything, I found the secret combination that would make sqlite not crash in travis.