Upload tox.ini.in with huggingface_hub
Browse files- tox.ini.in +20 -0
tox.ini.in
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[tox]
|
| 2 |
+
toxworkdir={toxinidir}/parts/tox
|
| 3 |
+
setupdir={toxinidir}
|
| 4 |
+
envlist = py26,py27,pypy
|
| 5 |
+
|
| 6 |
+
[testenv]
|
| 7 |
+
commands=
|
| 8 |
+
{envpython} {toxinidir}/misc/cleanup-pyc.py {toxinidir}/pyhwp {toxinidir}/pyhwp_uno {toxinidir}/unokit
|
| 9 |
+
{envpython} {toxinidir}/misc/mkdir.py {envtmpdir}
|
| 10 |
+
{envbindir}/pip install -f {toxinidir}/wheelhouse wheel
|
| 11 |
+
{envbindir}/pip wheel -f {toxinidir}/wheelhouse --use-wheel --wheel-dir={toxinidir}/wheelhouse wheel nose coverage
|
| 12 |
+
{envbindir}/pip wheel -f {toxinidir}/wheelhouse --use-wheel --wheel-dir={toxinidir}/wheelhouse wheel pycrypto # TODO: win32
|
| 13 |
+
{envbindir}/pip wheel -f {toxinidir}/wheelhouse --use-wheel --wheel-dir={toxinidir}/wheelhouse 'lxml<3.3.0' # TODO: win32
|
| 14 |
+
{envbindir}/pip install -f {toxinidir}/wheelhouse pycrypto
|
| 15 |
+
{envbindir}/pip install -f {toxinidir}/wheelhouse 'lxml<3.3.0'
|
| 16 |
+
{envbindir}/pip install -f {toxinidir}/wheelhouse nose coverage
|
| 17 |
+
{envbindir}/coverage run -p --source=hwp5,hwp5_tests {envbindir}/nosetests${constants:script_py_suffix} -v -w {envtmpdir} {toxinidir}/pyhwp-tests --logging-config={toxinidir}/etc/testlog.conf --with-xunit --xunit-file={envtmpdir}/nosetests.xml
|
| 18 |
+
{envpython} {toxinidir}/misc/test-cli.py
|
| 19 |
+
{envpython} {toxinidir}/misc/prepare-hwp5-xsl-fixtures.py --fixtures-dir={toxinidir}/pyhwp-tests/hwp5_tests/fixtures --out-dir={envtmpdir}/hwp5_xsl_fixtures
|
| 20 |
+
{toxinidir}/bin/xsltest --styles-dir={toxinidir}/pyhwp/hwp5/xsl --import-dir={envtmpdir}/hwp5_xsl_fixtures --gen-dir={envtmpdir}/hwp5_xsl_tests {toxinidir}/pyhwp-tests/hwp5_xsl_tests
|