tox-travis: Integrate tox and Travis¶
tox-travis is a plugin for tox that simplifies the setup between tox and Travis.
Usage¶
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.