aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/ci-math-comp.sh
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-03-21 17:17:28 +0100
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-03-22 17:22:12 +0100
commit1b0d67a0cf1b725715e97ba6448c3ff0154813bc (patch)
tree7cba9bed3fd3266c2938e292734ff7c357900877 /dev/ci/ci-math-comp.sh
parentcd87eac3757d8925ff4ba7dee85efadb195153a3 (diff)
[travis] [8.6.only] Backport latest changes from trunk.
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 2eb150cb5..bb8188da4 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 )