debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_VERBOSE=1 |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=pybuild --verbose --test-tox |
| 7 | |
| 8 | override_dh_auto_test: |
| 9 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 10 | for py in `py3versions --supported` ; do \ |
| 11 | echo "Test using $$py" ;\ |
| 12 | $$py -m nose2 -v tests ; \ |
| 13 | done |
| 14 | endif |