travis: fix testing on TravisCI