aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/ci-bignums.sh
diff options
context:
space:
mode:
authorGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2017-06-06 21:22:15 +0200
committerGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2017-06-13 10:33:00 +0200
commit0fd563c07433db5aad5c5a3f196ea692bb60c04e (patch)
tree3194b732e6a1f88c3c677bed55e56ed021f6e869 /dev/ci/ci-bignums.sh
parent08e86c0af77e83b8569fe611b9fb74e772d710a8 (diff)
[travis] extra test ci-bignums (+factorize other scripts)
Diffstat (limited to 'dev/ci/ci-bignums.sh')
-rwxr-xr-xdev/ci/ci-bignums.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev/ci/ci-bignums.sh b/dev/ci/ci-bignums.sh
new file mode 100755
index 000000000..ff5935d4c
--- /dev/null
+++ b/dev/ci/ci-bignums.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+ci_dir="$(dirname "$0")"
+
+# This script could be included inside other ones
+# Let's avoid to source ci-common twice in this case
+if [ -z "${CI_BUILD_DIR}"];
+then
+ source ${ci_dir}/ci-common.sh
+fi
+
+bignums_CI_DIR=${CI_BUILD_DIR}/Bignums
+
+git_checkout ${bignums_CI_BRANCH} ${bignums_CI_GITURL} ${bignums_CI_DIR}
+
+( cd ${bignums_CI_DIR} && make -j ${NJOBS} && make install)