diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 64c97b46..a8b844b3 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -34,7 +34,7 @@ jobs: displayName: Add conda to PATH # Get the Fatiando CI scripts - - bash: git clone --branch=1.1.1 --depth=1 https://github.com/fatiando/continuous-integration.git + - bash: git clone --branch=1.2.0 --depth=1 https://github.com/fatiando/continuous-integration.git displayName: Fetch the Fatiando CI scripts # Setup dependencies and build a conda environment @@ -92,8 +92,14 @@ 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 + - bash: git clone --branch=1.2.0 --depth=1 https://github.com/fatiando/continuous-integration.git displayName: Fetch the Fatiando CI scripts # Setup dependencies and build a conda environment @@ -177,7 +183,7 @@ jobs: displayName: Add conda to PATH # Get the Fatiando CI scripts - - script: git clone --branch=1.1.1 --depth=1 https://github.com/fatiando/continuous-integration.git + - script: git clone --branch=1.2.0 --depth=1 https://github.com/fatiando/continuous-integration.git displayName: Fetch the Fatiando CI scripts # Setup dependencies and build a conda environment diff --git a/.travis.yml b/.travis.yml index 3ed54514..43b6fd93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,7 +54,7 @@ matrix: before_install: # Copy sample data to the verde data dir to avoid downloading all the time # Get the Fatiando CI scripts - - git clone --branch=1.1.1 --depth=1 https://github.com/fatiando/continuous-integration.git + - git clone --branch=1.2.0 --depth=1 https://github.com/fatiando/continuous-integration.git # Download and install miniconda and setup dependencies # Need to source the script to set the PATH variable globaly - source continuous-integration/travis/setup-miniconda.sh