Seems travis has issues installing Markupsafe, try with pip install