Skip to content

Commit

Permalink
Take ownership of conda on Azure Mac builds (#102)
Browse files Browse the repository at this point in the history
Some builds were failing because of permission issues for conda. Adding
this seems to solve those problems.
  • Loading branch information
leouieda authored and santisoler committed Sep 20, 2019
1 parent 5e33a79 commit 681e640
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ jobs:
- bash: echo "##vso[task.prependpath]$CONDA/bin"
displayName: Add conda to PATH

# On Hosted macOS, the agent user doesn't have ownership of Miniconda's installation
# directory We need to take ownership if we want to update conda or install packages
# globally
- bash: sudo chown -R $USER $CONDA
displayName: Take ownership of conda installation

# Get the Fatiando CI scripts
- bash: git clone --branch=1.1.1 --depth=1 https://github.com/fatiando/continuous-integration.git
displayName: Fetch the Fatiando CI scripts
Expand Down

0 comments on commit 681e640

Please sign in to comment.