tox.ini 1017 Bytes
Newer Older
1 2
# wendelin.core | tox setup
[tox]
3
envlist = py27-ZODB3-{fs,zeo,neo}-{numpy18,numpy19}, {py27,py34}-ZODB4-{fs,zeo}-{numpy18,numpy19}
4
# (NOTE ZODB3 does not work on python3)
5
# (NOTE NEO does not work on ZODB4)
6 7 8 9 10 11 12 13 14 15 16 17

[testenv]
deps    =
    # why tox does not get it from extras_require['test'] ?
    pytest

    # latest ZODB from 3 series
    ZODB3:  ZODB3 >=3.10, <3.11dev

    # latest current ZODB _4_
    ZODB4:  ZODB3 >=3.11

Kirill Smelkov's avatar
Kirill Smelkov committed
18
    neo:    neoppod >= 1.4
19 20 21 22 23 24 25
    # neo.tests also imports MySQLdb unconditionally
    neo:    MySQL-python


    # zeo: ZEO is already required by ZODB, but for testing utilities from ZEO we also need:
    zeo:    zope.testing

26 27 28
    numpy18: numpy >=1.8.2, <1.9.0
    numpy19: numpy >=1.9.2, <1.10.0

29 30 31 32
setenv =
    fs:  WENDELIN_CORE_TEST_DB=<fs>
    zeo: WENDELIN_CORE_TEST_DB=<zeo>
    neo: WENDELIN_CORE_TEST_DB=<neo>
33 34 35 36

commands= {envpython} setup.py test
# XXX setenv = TMPDIR = ... ?  (so that /tmp is not on tmpfs and we don't run out of memory on bench)
# + {envpython} setup.py bench  (?)