travis-ci: run previously failed tests first, then slowest to fastest