Install different dependencies for Python 2 and 3 on Travis CI