perhaps `$TRAVIS_PYTHON_VERSION.startswith('2.7')` is a bit clearer and more robust to future changes?