Skip to content

Commit

Permalink
indicate windows cache found condition
Browse files Browse the repository at this point in the history
  • Loading branch information
kangwonlee committed Jul 5, 2019
1 parent 80884f3 commit 3b8da32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install_nix_win_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then
bash $HOME/download/miniconda.sh -b -u -p $MINICONDA_PATH;
fi;
elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
echo "checking if folder $MINICONDA_SUB_PATH exists"
if [[ -d $MINICONDA_SUB_PATH ]]; then
echo "folder $MINICONDA_SUB_PATH exists"
echo "miniconda for Windows already installed";
else
echo "folder $MINICONDA_SUB_PATH does not exist"
echo "installing miniconda for windows";
choco install miniconda3 --params="'/JustMe /AddToPath:1 /D:$MINICONDA_PATH_WIN'";
fi;
Expand Down

0 comments on commit 3b8da32

Please sign in to comment.