diff options
author | holger krekel <holger@merlinux.eu> | 2015-04-20 21:51:46 +0200 |
---|---|---|
committer | holger krekel <holger@merlinux.eu> | 2015-04-20 21:51:46 +0200 |
commit | 5460ace40a08b880ebce23cee9d62f2d4999790f (patch) | |
tree | 34fc4948097489ba6df6834665640dd85d127ea0 /doc/example/basic.txt | |
parent | 406d45d0ef7a5c7baab6db6621dadc5c2c6822a3 (diff) | |
download | tox-5460ace40a08b880ebce23cee9d62f2d4999790f.tar.gz |
introduce new "platform" setting for tox
(XXX) consider using environment marker syntax
Diffstat (limited to 'doc/example/basic.txt')
-rw-r--r-- | doc/example/basic.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/example/basic.txt b/doc/example/basic.txt index e0dbece..b88b28c 100644 --- a/doc/example/basic.txt +++ b/doc/example/basic.txt @@ -46,6 +46,19 @@ Available "default" test environments names are:: However, you can also create your own test environment names, see some of the examples in :doc:`examples <../examples>`. +specifying a platform +----------------------------------------------- + +.. versionadded:: 2.0 + +If you want to specify which platform(s) your test environment +runs on you can set a platform regular expression like this:: + + platform = linux2|darwin + +If the expression does not match against ``sys.platform`` +the test environment will be skipped. + whitelisting non-virtualenv commands ----------------------------------------------- |