Install dependencies on Python 2 for Travis.