Seamless integration of Tox into Travis CI
Tox-Travis is a plugin for Tox that simplifies the setup between Tox and Travis.
Configure the Python versions to test with in .travis.yml, and install tox-travis with pip:
sudo: false language: python python: - "2.7" - "3.4" install: pip install tox-travis script: tox
Tox will only run the py27 or py34 env (or envs that have a factor that matches) as appropriate for the version of Python that is being run by each Travis job.