[Git][debian-gis-team/geolinks][master] 2 commits: Add module import tests to autopkgtest configuration.
Bas Couwenberg
gitlab at salsa.debian.org
Tue Apr 17 17:08:42 BST 2018
Bas Couwenberg pushed to branch master at Debian GIS Project / geolinks
Commits:
91d84c0c by Bas Couwenberg at 2018-04-17T18:00:12+02:00
Add module import tests to autopkgtest configuration.
- - - - -
fd4b48a2 by Bas Couwenberg at 2018-04-17T18:02:55+02:00
Bump Standards-Version to 4.1.4, no changes.
- - - - -
3 changed files:
- debian/changelog
- debian/control
- debian/tests/control
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,11 @@
geolinks (0.2.0-3) UNRELEASED; urgency=medium
* Team upload.
- * Bump Standards-Version to 4.1.3, no changes.
+ * Bump Standards-Version to 4.1.4, no changes.
* Strip trailing whitespace from control file.
* Update copyright-format URL to use HTTPS.
* Update Vcs-* URLs for Salsa.
+ * Add module import tests to autopkgtest configuration.
-- Bas Couwenberg <sebastic at debian.org> Mon, 02 Oct 2017 13:00:00 +0200
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9),
python-all,
python3-setuptools,
python3-all,
-Standards-Version: 4.1.3
+Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/debian-gis-team/geolinks
Vcs-Git: https://salsa.debian.org/debian-gis-team/geolinks.git
Homepage: https://pypi.python.org/pypi/geolinks
=====================================
debian/tests/control
=====================================
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,11 @@
# Test installability
Depends: @
Test-Command: /bin/true
+
+# Test module import (Python 2)
+Depends: python-all, python-geolinks
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import geolinks; print(geolinks)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-geolinks
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import geolinks; print(geolinks)" ; done
View it on GitLab: https://salsa.debian.org/debian-gis-team/geolinks/compare/e5fade557b0e2a7a0adfab2496b580f51422a17e...fd4b48a25ec4991800a25c03f2d21f6922f60719
---
View it on GitLab: https://salsa.debian.org/debian-gis-team/geolinks/compare/e5fade557b0e2a7a0adfab2496b580f51422a17e...fd4b48a25ec4991800a25c03f2d21f6922f60719
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20180417/5175fa04/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list