aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-math-comp.sh
diff options
context:
space:
mode:
authorMaxime Dénès2017-02-07 14:22:08 +0100
committerMaxime Dénès2017-02-07 14:22:08 +0100
commit0a1c83768a6b0199afa1ad4fb633c9ede4a84d20 (patch)
tree0b39e900ef744160b8c453bb9f5f017c5d3a8039 /dev/ci/ci-math-comp.sh
parente61e83758e129d455d664b65a1fe15ecac793186 (diff)
parent2a59cdce8c142d451988709a3939b884c63993c9 (diff)
Merge PR#421: [travis] Perform parallel testing
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 )