Skip to content
Snippets Groups Projects
Commit 5f89c039 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Add admin command for re-installing CIs

parent 1f9ef34d
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
# Sat 28 Jan 09:16:48 2017 CET
if [ "${#}" != 1 ]; then
echo "usage: `basename $0` <prefix>"
echo "example: `basename $0` /opt/conda"
exit 1
fi
BASEDIR=$1
CURDIR=`pwd`
CONDA=${BASEDIR}/bin/conda
echo "[>>] Cleaning conda cache..."
${CONDA} clean --all --yes
for k in 2.7 3.4 3.5; do
py=`echo $k | sed -e 's/\.//'`
e="bob-devel-py$py"
echo "[>>] Installing CI environment $e using python-$k..."
${CURDIR}/from-scratch.sh ${BASEDIR} $e $k
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment