diff options
Diffstat (limited to 'dev/ci/ci-math-comp.sh')
| -rwxr-xr-x | dev/ci/ci-math-comp.sh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/dev/ci/ci-math-comp.sh b/dev/ci/ci-math-comp.sh index 701403f2cf..a74f9fa4d3 100755 --- a/dev/ci/ci-math-comp.sh +++ b/dev/ci/ci-math-comp.sh @@ -2,14 +2,12 @@ # $0 is not the safest way, but... ci_dir="$(dirname "$0")" -source ${ci_dir}/ci-common.sh +. "${ci_dir}/ci-common.sh" -mathcomp_CI_DIR=${CI_BUILD_DIR}/math-comp +git_download mathcomp -checkout_mathcomp ${mathcomp_CI_DIR} +( cd "${CI_BUILD_DIR}/mathcomp/mathcomp" && make && make install ) -# odd_order takes too much time for travis. -( 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 all ) +git_download oddorder + +( cd "${CI_BUILD_DIR}/oddorder" && make ) |
