我有以下 .travis.yml:
language: python
env:
- TOXENV=py27
- TOXENV=py34
install:
- pip install -U tox
script:
- tox
和以下tox.ini:
[tox]
envlist = py27,py34
[testenv]
commands = py.test tests/
deps = -rtests/test_requirements.txt
我需要 Python 3.4.3,它在 Travis 不久就可以使用。如何在 .travis.yml 中指定 Python 的确切版本,以便 tox 可以为py34
环境使用正确的版本?