diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-03-23 16:00:53 +0100 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-03-23 16:00:53 +0100 |
commit | dccc6c5a0d7bb8b8936a8327ae979138c9f13453 (patch) | |
tree | 9c2f29254a643cdeef884309d8d53a3baf94f3ae /dev/ci/ci-math-classes.sh | |
parent | 9f69250d5ba4116bad85662830460f1519edbe30 (diff) | |
parent | 1b0d67a0cf1b725715e97ba6448c3ff0154813bc (diff) |
Merge PR#497: [travis] [8.6.only] Backport latest changes from trunk.
Diffstat (limited to 'dev/ci/ci-math-classes.sh')
-rwxr-xr-x | dev/ci/ci-math-classes.sh | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/dev/ci/ci-math-classes.sh b/dev/ci/ci-math-classes.sh index 4450dc071..beb75773b 100755 --- a/dev/ci/ci-math-classes.sh +++ b/dev/ci/ci-math-classes.sh @@ -1,12 +1,20 @@ -#!/bin/bash +#!/usr/bin/env bash -# $0 is not the safest way, but... ci_dir="$(dirname "$0")" source ${ci_dir}/ci-common.sh -git_checkout v8.6 https://github.com/math-classes/math-classes.git math-classes -( cd math-classes && make -j ${NJOBS} && make install ) +math_classes_CI_DIR=${CI_BUILD_DIR}/math-classes -git_checkout v8.6 https://github.com/c-corn/corn.git corn -( cd corn && make -j ${NJOBS} ) +Corn_CI_DIR=${CI_BUILD_DIR}/corn +# Setup Math-Classes + +git_checkout ${math_classes_CI_BRANCH} ${math_classes_CI_GITURL} ${math_classes_CI_DIR} + +( cd ${math_classes_CI_DIR} && make -j ${NJOBS} && make install ) + +# Setup Corn + +git_checkout ${Corn_CI_BRANCH} ${Corn_CI_GITURL} ${Corn_CI_DIR} + +( cd ${Corn_CI_DIR} && make -j ${NJOBS} ) |