tox.ini 966 Bytes
Newer Older
1 2
# zodbtools | tox setup
[tox]
3
envlist = py27-ZODB3, py{27,36,37}-ZODB{4,5,devPR183}
4 5 6

[testenv]
deps	=
7
    .[test]
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

    # latest ZODB from ZODB3 series
    ZODB3:  ZODB3 >=3.10, <3.11dev
    ZODB3:  transaction <2.0dev
    # ZConfig 3.2.0 passes filename to ZEO config as unicode which eventualy breaks in FileStorage:
    # https://github.com/zopefoundation/ZODB/blob/3.10.7-4-gb8d7a8567/src/ZODB/FileStorage/FileStorage.py#L1640
    ZODB3:  ZConfig <3.2.0

    # latest current ZODB 4
    ZODB4:  ZODB >=4.0, <5.0dev
    ZODB4:  ZEO  >=4.0, <5.0dev
    # ZEO4 depends on transaction <2
    ZODB4:  transaction <2.0dev

    # latest current ZODB 5
    ZODB5:  ZODB >=5.0,	<6.0dev
    ZODB5:  ZEO	 >=5.0, <6.0dev

26 27 28
    # with the patches from https://github.com/zopefoundation/ZODB/pull/183
    ZODBdevPR183: -e git+https://github.com/navytux/ZODB@7f5a67b3e0d2dcf2d13f18a42a82e526f6d4055c#egg=ZODB
    ZODBdevPR183: ZEO >=5.0, <6.0dev
29 30

commands= {envpython} -m pytest