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 <msur...@sysmocom.de>

Reply via email to