Commit Graph

5 Commits

Author SHA1 Message Date
Max 8a02e36575 Use python3 for osmo_ctrl.py
It's a standalone script illustrating the use of ctrl protocol from
python. Since it's not used as a library and nothing depends on it, we
can safely switch to python3.

Change-Id: I2461dd9af67771beed5306116e8a1b0ee2285aa8
2017-12-21 14:37:23 +01:00
Max 6588960d1d Add scripts to compilation tests in jenkins
Related: OS#2684
Change-Id: If098c20b1ad17c3868073b9fe07fd3795217c526
2017-12-21 14:35:16 +01:00
Max 1a5364696e Explicitly check syntax in jenkins tests
By default setup.py ignores compilation errorsand proceed with
installation anyway. Make sure that it fails if any errorsis encountered
bymanually call compilation step.

Change-Id: I2235e3fff21b7c09d3fba00ecdccca7f4515e071
Related: OS#2770
2017-12-18 13:12:48 +01:00
Max c35bb473e4 Expand CI tests
* make sure jenkins.sh fails on any errors similar to other jenkins jobs
* always explicitly use python2 instead of generic python
* add basic module import tests for python 2 and 3
* add comments

Change-Id: I0f4639537d227c513859d4552533ce1e41df9deb
2017-12-18 10:11:39 +01:00
Neels Hofmeyr 738acb7b02 add contrib/jenkins.sh from current jenkins.osmocom.org job
i.e. from https://jenkins.osmocom.org/jenkins/job/update-osmocom-python-on-slaves

Change-Id: Iefa0261303982fc66d0845348b9c4a0ff6b94ab5
2017-12-15 04:35:08 +01:00