Fix Travis-ci yaml file for Python 2.