Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
Update CI scripts and fix linting errors (#55)
Browse files Browse the repository at this point in the history
Pylint 2.4.2 generates some new error reports, mostly due to imports not
being at the top.
Update CI scripts to 1.2.0 to fix failing TravisCI builds.
Take control of the conda path on Mac Azure builds to avoid conda
errors.
  • Loading branch information
leouieda authored and santisoler committed Jan 24, 2020
1 parent 2849272 commit bf20baa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf20baa

Please sign in to comment.