aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-math-comp.sh
diff options
context:
space:
mode:
authorThéo Zimmermann2017-03-07 23:30:29 +0100
committerThéo Zimmermann2017-03-10 23:18:33 +0100
commit710c1e1f49ce834acb9488704bcbbf13c4ebaf91 (patch)
treed088d5a61426c8febb702866426c96a47a025b2b /dev/ci/ci-math-comp.sh
parentba36aab9ad9a3d210211e1d4527dd0f6f493ca05 (diff)
[travis] Adding a template file and using it for all targets.
Diffstat (limited to 'dev/ci/ci-math-comp.sh')
-rwxr-xr-xdev/ci/ci-math-comp.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev/ci/ci-math-comp.sh b/dev/ci/ci-math-comp.sh
index 1b6c6fb847..bb8188da4e 100755
--- a/dev/ci/ci-math-comp.sh
+++ b/dev/ci/ci-math-comp.sh
@@ -4,10 +4,12 @@
ci_dir="$(dirname "$0")"
source ${ci_dir}/ci-common.sh
-checkout_mathcomp math-comp
+mathcomp_CI_DIR=${CI_BUILD_DIR}/math-comp
+
+checkout_mathcomp ${mathcomp_CI_DIR}
# odd_order takes too much time for travis.
-( cd math-comp/mathcomp && \
+( cd ${mathcomp_CI_DIR}/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 )