add macos target

This commit is contained in:
Amber Brown (HawkOwl) 2016-09-25 05:57:16 +08:00
parent a4423e9162
commit e349959103
1 changed files with 7 additions and 4 deletions

11
tox.ini
View File

@ -8,7 +8,8 @@
; * withcov - run the tests wrapped using the coverage.
; * nocov - run the tests directly, without using the coverage wrapper.
; * wheel - build the wheel distribution
; * posix - prepare the tests to be run in a Linux/Unix/OSX environment.
; * posix - prepare the tests to be run in a Linux/Unix/macOS environment.
; * macos - prepare the tests to be run in a macOS environment (superset of posix)
; * windows - prepare the tests to be executed under Windows.
;
; Some tags are defined only while transitioning to an updated Buildbot and
@ -30,7 +31,7 @@
skip_missing_interpreters=True
toxworkdir=build/
envlist=
{py27,py33,py34,py35}-{alldeps,nodeps}-{withcov,nocov}-{posix,windows}
{py27,py33,py34,py35}-{alldeps,nodeps}-{withcov,nocov}-{posix,macos,windows}
{py27,py35}-wheel
pyflakes,twistedchecker,apidocs,narrativedocs,topfile,manifest-checker
@ -51,10 +52,12 @@ deps =
{alldeps,tests,coverage}: priority
{alldeps,tests,coverage}: sphinx
py27-{alldeps,tests,coverage}-posix: pysqlite
py27-{alldeps,tests,coverage}-{posix,macos}: pysqlite
py27-{alldeps,tests,coverage}: soappy
alldeps-windows: pypiwin32
windows: pypiwin32
{alldeps,tests}-macos: pyobjc-core
{alldeps,tests}-macos: pyobjc-framework-cfnetwork
{withcov,coverage}: coverage