TST: update travis-test.sh from 1.9.x branch