aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-math-comp.sh
diff options
context:
space:
mode:
authorMaxime Dénès2017-02-07 08:17:52 +0100
committerEmilio Jesus Gallego Arias2017-02-07 10:28:07 +0100
commit27be8637d1f073c245c32aa7c336fb70e1b82c20 (patch)
treebddf71af1eaea00150b09b85a38f92f8beb37b4d /dev/ci/ci-math-comp.sh
parent487e19a495b8727b0d3f11a8f0238d17aa9e9303 (diff)
[travis] Move ci files from `tools` to `dev`.
Diffstat (limited to 'dev/ci/ci-math-comp.sh')
-rwxr-xr-xdev/ci/ci-math-comp.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev/ci/ci-math-comp.sh b/dev/ci/ci-math-comp.sh
new file mode 100755
index 0000000000..b833792419
--- /dev/null
+++ b/dev/ci/ci-math-comp.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# $0 is not the safest way, but...
+ci_dir="$(dirname "$0")"
+source ${ci_dir}/ci-common.sh
+
+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 )