[Python-modules-commits] [python-motor] 08/09: debian/tests: Run tests on all Python versions

Ondrej Novy onovy at debian.org
Tue Jan 16 14:35:25 UTC 2018


This is an automated email from the git hooks/post-receive script.

onovy pushed a commit to branch master
in repository python-motor.

commit 475c785c253a0ad3590afa2a66e21a5964ae6f5e
Author: Ondřej Nový <onovy at debian.org>
Date:   Tue Jan 16 15:32:55 2018 +0100

    debian/tests: Run tests on all Python versions
---
 debian/changelog              |  1 +
 debian/tests/control.autodep8 | 10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9a628ed..54b70fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ python-motor (1.2.0-1) UNRELEASED; urgency=medium
   * d/copyright: Bump my copyright year
   * Bump debhelper compat level to 11
   * Standards-Version is 4.1.3 now (no changes needed)
+  * debian/tests: Run tests on all Python versions
 
  -- Ondřej Nový <onovy at debian.org>  Tue, 16 Jan 2018 13:33:58 +0100
 
diff --git a/debian/tests/control.autodep8 b/debian/tests/control.autodep8
index 46020b2..619d13d 100644
--- a/debian/tests/control.autodep8
+++ b/debian/tests/control.autodep8
@@ -1,17 +1,19 @@
-Depends: python-mockupdb,
+Depends: python-all,
+         python-mockupdb,
          python-motor,
          python-setuptools,
          python-tornado,
          mongodb-server,
 Restrictions: allow-stderr,
               isolation-container,
-Test-Command: python setup.py test
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do echo "Testing with $py:" ; $py setup.py test ; done
 
-Depends: python3-mockupdb,
+Depends: python3-all,
+         python3-mockupdb,
          python3-motor,
          python3-setuptools,
          python3-tornado,
          mongodb-server,
 Restrictions: allow-stderr,
               isolation-container,
-Test-Command: python3 setup.py test
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do echo "Testing with $py:" ; $py setup.py test ; done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-motor.git



More information about the Python-modules-commits mailing list