Skip to content

Commit f0533e4

Browse files
committed
CI: fix cache again
1 parent d968260 commit f0533e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/install_travis.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ echo "[home_dir: $home_dir]"
3535
# install miniconda
3636
MINICONDA_DIR="$HOME/miniconda3"
3737

38-
if [ "$USE_CACHE" ] && [ -d "$MINICONDA_DIR" ]; then
38+
if [ "$USE_CACHE" ] && [ -d "$MINICONDA_DIR/bin" ]; then
3939
echo "[Using cached Miniconda install]"
4040

4141
else
@@ -54,6 +54,9 @@ else
5454
bash miniconda.sh -b -p "$MINICONDA_DIR" || exit 1
5555
fi
5656

57+
echo "[show conds]"
58+
which conda
59+
5760
echo "[update conda]"
5861
conda config --set ssl_verify false || exit 1
5962
conda config --set always_yes true --set changeps1 false || exit 1

0 commit comments

Comments
 (0)