aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/ci/contrib-math-comp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/contrib-math-comp.sh')
-rwxr-xr-xtools/ci/contrib-math-comp.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/ci/contrib-math-comp.sh b/tools/ci/contrib-math-comp.sh
new file mode 100755
index 000000000..39a92a2d8
--- /dev/null
+++ b/tools/ci/contrib-math-comp.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# Proof of concept contrib build script.
+
+set -xe
+
+export PATH=`pwd`/bin:$PATH
+
+git clone --depth 3 https://github.com/math-comp/math-comp.git
+
+# odd_order takes too much time for travis.
+( cd math-comp/mathcomp && \
+ sed -i.bak '/PFsection/d' Make && \
+ sed -i.bak '/stripped_odd_order_theorem/d' Make && \
+ make Makefile.coq && make -f Makefile.coq -j ${NJOBS} all )