aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-math-comp.sh
diff options
context:
space:
mode:
authorMaxime Dénès2017-03-07 01:40:53 +0100
committerMaxime Dénès2017-03-07 01:40:53 +0100
commite585adf8872a7bae4ced395c9d3119525c5d26aa (patch)
treedee0c53f903c3bcdb90ab79cebb6a922a7978737 /dev/ci/ci-math-comp.sh
parent27e8d8857ea5435ccec9eddd6c34324de82afd32 (diff)
parentdda3c644e195de2f72a81a0e2fb17e5095ea80ce (diff)
Merge PR#453: [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 0000000000..2eb150cb52
--- /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 )