forked from josch/img2pdf
run tox on travis
This commit is contained in:
parent
66fd7cc765
commit
2c8e417c51
3 changed files with 3 additions and 12 deletions
|
@ -27,4 +27,4 @@ matrix:
|
||||||
install: pip install wheel pillow pytest pdfrw pikepdf
|
install: pip install wheel pillow pytest pdfrw pikepdf
|
||||||
script:
|
script:
|
||||||
- python --version
|
- python --version
|
||||||
- python -m pytest
|
- tox
|
||||||
|
|
9
setup.py
9
setup.py
|
@ -8,12 +8,6 @@ INSTALL_REQUIRES = (
|
||||||
'pikepdf',
|
'pikepdf',
|
||||||
)
|
)
|
||||||
|
|
||||||
TESTS_REQUIRE = (
|
|
||||||
'pdfrw',
|
|
||||||
'pikepdf',
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='img2pdf',
|
name='img2pdf',
|
||||||
version=VERSION,
|
version=VERSION,
|
||||||
|
@ -44,12 +38,9 @@ setup(
|
||||||
package_dir={"": "src"},
|
package_dir={"": "src"},
|
||||||
py_modules=['img2pdf', 'jp2'],
|
py_modules=['img2pdf', 'jp2'],
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
test_suite='tests.test_suite',
|
|
||||||
zip_safe=True,
|
zip_safe=True,
|
||||||
install_requires=INSTALL_REQUIRES,
|
install_requires=INSTALL_REQUIRES,
|
||||||
tests_requires=TESTS_REQUIRE,
|
|
||||||
extras_require={
|
extras_require={
|
||||||
'test': TESTS_REQUIRE,
|
|
||||||
'gui': ('tkinter'),
|
'gui': ('tkinter'),
|
||||||
},
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -4,7 +4,7 @@
|
||||||
# and then run "tox" from this directory.
|
# and then run "tox" from this directory.
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py34, py35, py36, pypy, jython
|
envlist = py34, py35, py36, py37, py38, pypy, jython
|
||||||
skip_missing_interpreters = true
|
skip_missing_interpreters = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -15,4 +15,4 @@ deps =
|
||||||
numpy
|
numpy
|
||||||
scipy
|
scipy
|
||||||
commands =
|
commands =
|
||||||
pytest
|
python -m pytest
|
||||||
|
|
Loading…
Reference in a new issue