fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/36383?usp=email )


Change subject: contrib/jenkins.sh: add 'distcheck' job to check package 
integrity
......................................................................

contrib/jenkins.sh: add 'distcheck' job to check package integrity

The idea of this new job is to catch package integrity problems,
like the missing entries in setup.py/packages[] or missing deps.

Change-Id: Ic72d58494e8fd0cab8d66ce60f7b70593b770872
Related: osmo-ci.git I9d4d9e9de2b16a4b745791f3c9c93507f43bfa6d
---
M contrib/jenkins.sh
1 file changed, 25 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/83/36383/1

diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index a5993da..6fb3d1a 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -4,7 +4,7 @@
 # environment variables:
 # * WITH_MANUALS: build manual PDFs if set to "1"
 # * PUBLISH: upload manuals after building if set to "1" (ignored without 
WITH_MANUALS = "1")
-# * JOB_TYPE: one of 'test', 'pylint', 'docs'
+# * JOB_TYPE: one of 'test', 'distcheck', 'pylint', 'docs'
 #

 export PYTHONUNBUFFERED=1
@@ -32,6 +32,17 @@
        ../tests/pySim-prog_test.sh
        ../tests/pySim-trace_test.sh
        ;;
+"distcheck")
+       virtualenv -p python3 venv --system-site-packages
+       . venv/bin/activate
+
+       pip install .
+       pip install pyshark
+
+       for prog in venv/bin/pySim-*.py; do
+               $prog --help > /dev/null
+       done
+       ;;
 "pylint")
        # Print pylint version
        pip3 freeze | grep pylint

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/36383?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ic72d58494e8fd0cab8d66ce60f7b70593b770872
Gerrit-Change-Number: 36383
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to