From a2e188cecf092eea5b6c969bfddc3c538381fff0 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sun, 24 Jul 2016 01:53:37 +0200 Subject: [PATCH] move pypy3 to the allowed failures and add hypothesis pypy3 is not compatible with hypothesis, which is needed for testing --- .gitignore | 1 + .travis.yml | 1 + setup.py | 2 +- tox.ini | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 247392d..944dcb3 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ build/ dist/ .coverage src/escpos/version.py +.hypothesis # testing temporary directories test/test-cli-output/ diff --git a/.travis.yml b/.travis.yml index e4d4f6e..76794ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ matrix: allow_failures: - python: 3.5-dev - python: nightly + - python: pypy3 before_install: - pip install tox codecov script: diff --git a/setup.py b/setup.py index 7a3895b..0e3eea5 100755 --- a/setup.py +++ b/setup.py @@ -116,7 +116,7 @@ setup( setup_requires=[ 'setuptools_scm', ], - tests_require=['tox', 'nose', 'scripttest'], + tests_require=['tox', 'nose', 'scripttest', 'mock', 'hypothesis'], cmdclass={'test': Tox}, entry_points={ 'console_scripts': [ diff --git a/tox.ini b/tox.ini index b1dee64..0968270 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,8 @@ envlist = py27, py34, py35, docs deps = nose coverage scripttest + mock + hypothesis commands = nosetests --with-coverage --cover-erase --cover-branches [testenv:docs]