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


2 participants

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.



This comment has been minimized.


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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment