Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kalefranz committed Apr 20, 2017
1 parent 47fc3bb commit 3bb0508
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ machine:
PYTHON_VERSION: 3.6

dependencies:
pre:
- sudo apt-get update; sudo apt-get install zsh
cache_directories:
- "~/miniconda/pkgs"
- "~/.cache/pip"
Expand Down
4 changes: 3 additions & 1 deletion utils/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,13 @@ install_conda_shell_scripts() {
echo "#!/bin/sh" > "$prefix/$BIN_DIR/activate"
echo "_CONDA_ROOT=\"$prefix\"" >> "$prefix/$BIN_DIR/activate"
cat "$src_dir/shell/bin/activate" >> "$prefix/$BIN_DIR/activate"
chmod +x "$prefix/$BIN_DIR/activate"

rm -f "$prefix/$BIN_DIR/deactivate"
echo "#!/bin/sh" > "$prefix/$BIN_DIR/deactivate"
echo "_CONDA_ROOT=\"$prefix\"" >> "$prefix/$BIN_DIR/deactivate"
cat "$src_dir/shell/bin/deactivate" >> "$prefix/$BIN_DIR/deactivate"
chmod +x "$prefix/$BIN_DIR/deactivate"

if [ -n "$ON_WIN" ]; then
rm -f "$prefix/$BIN_DIR/activate.bat"
Expand Down Expand Up @@ -274,7 +276,7 @@ conda_activate_test() {
if [ -n "$ON_WIN" ]; then
$PYTEST_EXE $ADD_COV -m "installed" --shell=bash.exe --shell=cmd.exe
else
$PYTEST_EXE $ADD_COV -m "installed" --shell=bash --shell=dash --shell=zsh
$PYTEST_EXE $ADD_COV -m "installed" --shell=bash --shell=zsh # --shell=dash
fi

}
Expand Down

0 comments on commit 3bb0508

Please sign in to comment.