.travis-pre-run.py check fro python 2.7