Use Python 2.7 on Travis because the tests use assertIn