Skip to main content

Seamless integration of Tox into Travis CI

Project description

tox-travis is a simple plugin for tox that allows you to use Travis CI’s multiple python version feature as well as tox’s full configurability in a straightforward way.

Usage

Configure the Python versions to test with in travis.yml:

sudo: false
language: python
python:
  - "2.7"
  - "3.4"
install: pip install tox-travis
script: tox

And it will run the appropriate testenvs, which are py27 and py34 in the example above.

Advanced Configuration

To customize what environments tox will run on Travis, add a section to tox.ini telling it what environments to run under which versions of Python:

[tox]
envlist = py{27,34}-django{17,18}, docs

[tox:travis]
2.7 = py27-django{17,18}
3.4 = py34-django{17,18}, docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tox-travis-0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

tox_travis-0.1-py2.py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page