Add platform name tag to config options

Issue #206 on hold
chriswwolfe created an issue

It would be helpful if one could specify the platform on which a test environment should be executed. This would function in a manner similar to the python version tag.

I'm proposing this to address the following pain point: I'm building an application that will be run on linux and osx. I'm also building a bundled version of the application with py2app and pyobjc. Ideally, I'd like to have a tox env that is only run when the platform is osx.

The syntax I propose is

[testenv:bundle]
platforms = osx, linux

Here is a copy of the IRC log in which the issue was discussed (I pasted it as gist for formatting): https://gist.github.com/derwolfe/0f548b0dbfabbb89f5e1

Comments (3)

  1. Log in to comment