[Python-modules-commits] [kombu] 12/12: Remove nose from CI tests
Christopher Stuart Hoskin
mans0954 at moszumanska.debian.org
Tue Mar 21 21:33:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
mans0954 pushed a commit to branch debian/experimental
in repository kombu.
commit d9a9b270d893fafbab48e627e66d4d8e3385ef06
Author: Christopher Hoskin <mans0954 at debian.org>
Date: Tue Mar 21 21:29:20 2017 +0000
Remove nose from CI tests
---
debian/changelog | 1 +
debian/tests/control | 8 ++++++--
debian/tests/upstream | 3 ---
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 53b5cd8..b838e6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ kombu (4.0.2+dfsg-1) UNRELEASED; urgency=medium
* Add patch to remove image from remote donation site (privacy issue)
* Set http(s) proxys to localhost whilst building docs
* Remove nose from build dependencies (pytest now used)
+ * Remove nose from CI tests
-- Christopher Hoskin <mans0954 at debian.org> Tue, 21 Mar 2017 19:35:31 +0000
diff --git a/debian/tests/control b/debian/tests/control
index b071ccc..f8e0e2a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,6 @@
-Tests: upstream
-Depends: @, @builddeps@
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import kombu; print kombu" ; done
+Depends: python-all, python-kombu
+
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import kombu; print(kombu)" ; done
+Depends: python3-all, python3-kombu
+
diff --git a/debian/tests/upstream b/debian/tests/upstream
deleted file mode 100755
index ee78a53..0000000
--- a/debian/tests/upstream
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-nosetests -v -P kombu.tests 2>&1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/kombu.git
More information about the Python-modules-commits
mailing list