[Git][debian-gis-team/python-osmapi][master] 2 commits: Add module import tests to autopkgtest configuration.

Bas Couwenberg gitlab at salsa.debian.org
Mon Apr 16 21:25:27 BST 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / python-osmapi


Commits:
1678181b by Bas Couwenberg at 2018-04-16T22:12:54+02:00
Add module import tests to autopkgtest configuration.

- - - - -
0cc72a9e by Bas Couwenberg at 2018-04-16T22:13:16+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
@@ -2,7 +2,8 @@ python-osmapi (1.1.0-2) UNRELEASED; urgency=medium
 
   * Update copyright-format URL to use HTTPS.
   * Update Vcs-* URLs for Salsa.
-  * Bump Standards-Version to 4.1.3, no changes.
+  * Bump Standards-Version to 4.1.4, no changes.
+  * Add module import tests to autopkgtest configuration.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 21 Jan 2018 10:38:34 +0100
 


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,7 @@ Build-Depends: debhelper (>= 9),
                python3-requests,
                python-tox,
                python-xmltodict
-Standards-Version: 4.1.3
+Standards-Version: 4.1.4
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/python-osmapi
 Vcs-Git: https://salsa.debian.org/debian-gis-team/python-osmapi.git
 Homepage: https://wiki.openstreetmap.org/wiki/Osmapi


=====================================
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-osmapi
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import osmapi; print(osmapi)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-osmapi
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import osmapi; print(osmapi)" ; done



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-osmapi/compare/7860c57ecc0e4fd6616b98bb26d06135961828ca...0cc72a9e9fd1187cffb3239bc5cf107f5c499441

---
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-osmapi/compare/7860c57ecc0e4fd6616b98bb26d06135961828ca...0cc72a9e9fd1187cffb3239bc5cf107f5c499441
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/20180416/ab1bd024/attachment-0001.html>


More information about the Pkg-grass-devel mailing list