aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/ci-math-comp.sh
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-03-02 18:25:43 +0100
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-03-02 18:43:37 +0100
commitdda3c644e195de2f72a81a0e2fb17e5095ea80ce (patch)
treedee0c53f903c3bcdb90ab79cebb6a922a7978737 /dev/ci/ci-math-comp.sh
parent27e8d8857ea5435ccec9eddd6c34324de82afd32 (diff)
[travis] Backport trunk's travis support.
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 000000000..2eb150cb5
--- /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
+
+checkout_mathcomp math-comp
+
+# 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 )