[Git][debian-gis-team/rasterio][master] 2 commits: Add module import tests to autopkgtest configuration.
Bas Couwenberg
gitlab at salsa.debian.org
Tue Apr 17 19:20:23 BST 2018
Bas Couwenberg pushed to branch master at Debian GIS Project / rasterio
Commits:
c8fa8e2c by Bas Couwenberg at 2018-04-17T19:58:40+02:00
Add module import tests to autopkgtest configuration.
- - - - -
2ecac889 by Bas Couwenberg at 2018-04-17T19:58:59+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,10 +2,11 @@ rasterio (0.36.0-3) UNRELEASED; urgency=medium
* Team upload.
* Update watchfile to also match pre-releases.
- * Bump Standards-Version to 4.1.3, no changes.
+ * Bump Standards-Version to 4.1.4, no changes.
* Strip trailing whitespace from control & rules files.
* 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> Tue, 29 Aug 2017 23:20:11 +0200
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -30,7 +30,7 @@ Build-Depends: debhelper (>= 9),
python3-pytest,
python3-cligj (>= 0.2),
python3-click-plugins,
-Standards-Version: 4.1.3
+Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/debian-gis-team/rasterio
Vcs-Git: https://salsa.debian.org/debian-gis-team/rasterio.git
Homepage: https://github.com/mapbox/rasterio
=====================================
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-rasterio
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import rasterio; import rasterio.rio; import rasterio.tools; print(rasterio); print(rasterio.rio); print(rasterio.tools)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-rasterio
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import rasterio; import rasterio.rio; import rasterio.tools; print(rasterio); print(rasterio.rio); print(rasterio.tools)" ; done
View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/compare/0f52c4b90c74ef060ba8ec4ffab88372d3fe4844...2ecac889cf5651235b3f6e6a8805c0e78e7ff19a
---
View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/compare/0f52c4b90c74ef060ba8ec4ffab88372d3fe4844...2ecac889cf5651235b3f6e6a8805c0e78e7ff19a
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/f76f9fbb/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list