aboutsummaryrefslogtreecommitdiff
path: root/tools/ci/ci-math-comp.sh
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2017-02-04 23:55:24 +0100
committerEmilio Jesus Gallego Arias2017-02-07 10:27:17 +0100
commit138a4da7f0133d7b4ea06cfbc938d23ddb88c97d (patch)
tree8f54418ccec857d9d5dea108ccaed0cf8de221de /tools/ci/ci-math-comp.sh
parent3a66f149a34613ef0ed04046fed3947e8e720cd6 (diff)
[travis] [External CI] Script renaming.
Diffstat (limited to 'tools/ci/ci-math-comp.sh')
-rwxr-xr-xtools/ci/ci-math-comp.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/ci/ci-math-comp.sh b/tools/ci/ci-math-comp.sh
new file mode 100755
index 0000000000..39a92a2d89
--- /dev/null
+++ b/tools/ci/ci-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 )