[PATCH] python/osmo-python-tests[master]: Add basic CI integration

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Mon Dec 11 14:41:05 UTC 2017


Review at  https://gerrit.osmocom.org/5277

Add basic CI integration

Add jenkins.sh which perform trivial build/install tests with both
python 2 to make sure we do not break smth accidentially.

Note: python 3 tests require osmopy fixes so it will be implemented in
follow-up patches.

Change-Id: I0f4639537d227c513859d4552533ce1e41df9deb
---
M .gitignore
A contrib/jenkins.sh
2 files changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/77/5277/1

diff --git a/.gitignore b/.gitignore
index 766f495..e78ea1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 osmopython.egg-info/
+build/
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
new file mode 100755
index 0000000..1bf22fc
--- /dev/null
+++ b/contrib/jenkins.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -ex
+
+rm -rf build
+
+python2 setup.py build
+python2 setup.py install --root build/install.py2
+
+# TODO: add more tests

-- 
To view, visit https://gerrit.osmocom.org/5277
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f4639537d227c513859d4552533ce1e41df9deb
Gerrit-PatchSet: 1
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list