[TravisCI] tweaks to make RunTravis able to be run locally