tox.ini 991 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. [testenv]
  2. commands={envpython} run-tests.py -nq
  3. sitepackages=False
  4. # this is 32 bit only
  5. [testenv:x-py25]
  6. basepython=/usr/bin/python2.5
  7. # test both 32 bit and 64 bit on OS X
  8. [testenv:x-py26]
  9. commands=/usr/bin/arch -i386 {envpython} run-tests.py -qn
  10. /usr/bin/arch -x86_64 {envpython} run-tests.py -qn
  11. basepython=/usr/bin/python2.6
  12. [testenv:x-py27]
  13. commands=/usr/bin/arch -i386 {envpython} run-tests.py -qn
  14. /usr/bin/arch -x86_64 {envpython} run-tests.py -qn
  15. basepython=/usr/bin/python2.7
  16. # test with specific gcc version on OS X
  17. [testenv:x-py26-gcc40]
  18. commands=/usr/bin/arch -i386 {envpython} run-tests.py -qn
  19. /usr/bin/arch -x86_64 {envpython} run-tests.py -qn
  20. basepython=/usr/bin/python2.6
  21. setenv=
  22. CC=gcc-4.0
  23. [testenv:x-py26-gcc42]
  24. commands=/usr/bin/arch -i386 {envpython} run-tests.py -qn
  25. /usr/bin/arch -x86_64 {envpython} run-tests.py -qn
  26. basepython=/usr/bin/python2.6
  27. setenv= CC=gcc-4.2
  28. [testenv:docs]
  29. deps=docutils
  30. sphinx
  31. commands=make html
  32. changedir={toxinidir}/doc