Skip to content

Commit

Permalink
fix minor ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik committed Jan 16, 2021
1 parent 520bc0b commit 77dbca8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .ci/azure-pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ steps:
displayName: Create distribution package

- ${{ if not(eq(parameters.OS_NAME, 'Windows')) }}:
- bash: $(run) .ci/unix/use-conda.sh
displayName: Enable Conda

- bash: $(run) .ci/unix/delocate.sh
displayName: Delocate

Expand Down
2 changes: 1 addition & 1 deletion .ci/unix/run-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if [ ! "$(docker ps -q -f name=$container)" ]; then
fi

echo "Running inside container: $@"
host_envs=$(env | cut -f1 -d= | sed 's/^/-e /' | grep -v -e PATH -e HOME)
host_envs=$(python3 -c "import os; print(' '.join(f'-e {k}' for k in os.environ if k not in ['PATH', 'HOME']))")
# Use login shell so that ~/.bash_profile is read.
# use-conda.sh appends to that file to modify the PATH.
set -x
Expand Down

0 comments on commit 77dbca8

Please sign in to comment.