Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform example #449

sashkab opened this issue Feb 4, 2017 · 1 comment

platform example #449

sashkab opened this issue Feb 4, 2017 · 1 comment


Copy link

@sashkab sashkab commented Feb 4, 2017


I've spent better part of the day to successfully combine three tox.ini's for different platforms from pre-tox 2.0 day into single multi-platform (macOS, Linux and FreeBSD) tox.ini. I created test project, which might be useful to share in examples, in order to better document platform keyword, as documentation is very sparse and few things I came up in example were just try and fail.

I've got test repository at, and here is content of the tox.ini:

minversion = 2.4.0

       macos: darwin
       linux: linux
       freebsd: freebsd10

    freebsd: py==1.4.30
    linux,macos: py==1.4.32

whitelist_externals = echo

   linux,macos: echo "Hello, Posix"
   freebsd: echo "Hello, FreeBSD"

I'd add this to documentation myself, but I don't have much time now, and afraid will forget about this soon, but this might help someone save couple minutes or hours in the future.


Copy link

@obestwalter obestwalter commented Feb 4, 2017

@sashkab Thank you. I agree - the documentation definitely needs some TLC at some point. if you dont' get around to it right away, it's at least not lost and properly labelld already.

@tox-dev tox-dev locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants