summaryrefslogtreecommitdiffstats
path: root/ci-legacy/local.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci-legacy/local.sh')
-rwxr-xr-xci-legacy/local.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/ci-legacy/local.sh b/ci-legacy/local.sh
new file mode 100755
index 0000000..db687ff
--- /dev/null
+++ b/ci-legacy/local.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+set -eux
+
+: "${GPG_VERSION:=stable}"
+: "${BUILD_MODE:=normal}"
+
+rsync -a /usr/local/rnp /tmp
+sudo -iu travis bash -x <<EOF
+cd /tmp/rnp
+env ${CXX:+CXX=$CXX} \
+ ${CC:+CC=$CC} \
+ GPG_VERSION=$GPG_VERSION \
+ BUILD_MODE=$BUILD_MODE \
+ ${RNP_TESTS:+RNP_TESTS=$RNP_TESTS} \
+ ci/run.sh
+EOF