aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-05-24 14:45:32 +0100
committerRichard van der Hoff <richard@matrix.org>2016-05-24 14:45:32 +0100
commita49d7284f3e1bee5a95eafeab9a816a2fa7112dd (patch)
tree13f9860e94aab389229ad49b7cd392d774cb640b
parent15cb4ec0c0c6b2205e5d3ba0b59c09dd20b4bab5 (diff)
add a script for jenkins to run
-rwxr-xr-xjenkins.sh9
-rwxr-xr-xpython/test_olm.sh2
2 files changed, 11 insertions, 0 deletions
diff --git a/jenkins.sh b/jenkins.sh
new file mode 100755
index 0000000..c1efcb9
--- /dev/null
+++ b/jenkins.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+make clean
+make lib
+make test
+
+./python/test_olm.sh
diff --git a/python/test_olm.sh b/python/test_olm.sh
index b575cbf..9c72556 100755
--- a/python/test_olm.sh
+++ b/python/test_olm.sh
@@ -1,5 +1,7 @@
#! /bin/bash
+cd `dirname $0`
+
OLM="python -m olm"
ALICE_ACCOUNT=alice.account