aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-math-comp.sh
diff options
context:
space:
mode:
authorMaxime Dénès2017-03-13 11:33:48 +0100
committerMaxime Dénès2017-03-13 11:33:48 +0100
commitecacc9af6100f76e95acc24e777026bfc9c4d921 (patch)
tree4c319de83cb07833fb253b2c3cd68d8a882c639b /dev/ci/ci-math-comp.sh
parente2135c2f5fd8846c30d8099eed523fe06202b614 (diff)
parentfd5c5da475baea11d7ee2e1c2e965d7faeed3f33 (diff)
Merge PR#456: Proposing improvement to the CI targets for local use
Diffstat (limited to 'dev/ci/ci-math-comp.sh')
-rwxr-xr-xdev/ci/ci-math-comp.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev/ci/ci-math-comp.sh b/dev/ci/ci-math-comp.sh
index 2eb150cb52..bb8188da4e 100755
--- a/dev/ci/ci-math-comp.sh
+++ b/dev/ci/ci-math-comp.sh
@@ -1,13 +1,15 @@
-#!/bin/bash
+#!/usr/bin/env bash
# $0 is not the safest way, but...
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 )