aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/ci-coquelicot.sh
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-02-07 19:37:15 +0100
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-02-15 21:20:34 +0100
commit30a2def37ecdeeed24325089a0b0ca264100389c (patch)
treeefca02de7cc2d061c7d648550d2d733ede3e3ed7 /dev/ci/ci-coquelicot.sh
parent3cdcad29ee9d28b0cb39740004da90a0fe291543 (diff)
[travis] [External CI] Factor out math-comp installs.
We make math-comp overlays easier, we also start structuring the scripts a bit more.
Diffstat (limited to 'dev/ci/ci-coquelicot.sh')
-rwxr-xr-xdev/ci/ci-coquelicot.sh21
1 files changed, 2 insertions, 19 deletions
diff --git a/dev/ci/ci-coquelicot.sh b/dev/ci/ci-coquelicot.sh
index 4a23e51be..94bd5e468 100755
--- a/dev/ci/ci-coquelicot.sh
+++ b/dev/ci/ci-coquelicot.sh
@@ -4,26 +4,9 @@
ci_dir="$(dirname "$0")"
source ${ci_dir}/ci-common.sh
-git clone --depth 3 https://github.com/math-comp/math-comp.git
-
-# coquelicot just needs mathcomp
-( cd math-comp/mathcomp && \
- sed -i.bak '/ssrtest/d' Make && \
- sed -i.bak '/odd_order/d' Make && \
- sed -i.bak '/all\/all.v/d' Make && \
- sed -i.bak '/character/d' Make && \
- sed -i.bak '/real_closed/d' Make && \
- sed -i.bak '/solvable/d' Make && \
- sed -i.bak '/field/d' Make && \
- sed -i.bak '/fingroup/d' Make && \
- sed -i.bak '/algebra/d' Make && \
- make -j ${NJOBS} && make install )
-
-# Setup ssr
-# echo "Add ML Path \"`pwd`/math-comp/mathcomp/\"." > ${HOME}/.coqrc
-# echo "Add LoadPath \"`pwd`/math-comp/mathcomp/\" as mathcomp." >> ${HOME}/.coqrc
+install_ssreflect
# Setup coquelicot
-git clone --depth 3 https://scm.gforge.inria.fr/anonscm/git/coquelicot/coquelicot.git
+git_checkout master https://scm.gforge.inria.fr/anonscm/git/coquelicot/coquelicot.git coquelicot
( cd coquelicot && ./autogen.sh && ./configure && ./remake -j${NJOBS} )