-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up the new improvements to Appveyor build.
We do not use the powershell script install_python.ps1 anymore since we use the miniconda preinstalled on the appveyor VM.
- Loading branch information
1 parent
4824ecb
commit 0586161
Showing
3 changed files
with
11 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,34 @@ | ||
# CI on Windows via appveyor | ||
# This file is based on xarray, which is in turn based on | ||
# Olivier Grisel's python-appveyor-demo | ||
branches: | ||
except: | ||
- fix-docs | ||
# branches: | ||
# except: | ||
# - fix-docs | ||
|
||
# Build worker image (VM template) | ||
image: Visual Studio 2017 | ||
|
||
environment: | ||
|
||
# Use the same root miniconda for all builds... | ||
# The build itself happens in a custom conda environment | ||
matrix: | ||
- PYTHON: "C:\\Miniconda36-x64" | ||
#PYTHON_VERSION: "3.6" | ||
PYTHON_ARCH: "64" | ||
CONDA_ENV: "py36-windows" | ||
- PYTHON: "C:\\Miniconda36-x64" | ||
#PYTHON_VERSION: "3.7" | ||
PYTHON_ARCH: "64" | ||
CONDA_ENV: "py37-windows" | ||
|
||
install: | ||
# Install miniconda Python | ||
#- "powershell ./ci/install_python.ps1" | ||
|
||
# Prepend newly installed Python to the PATH of this build (this cannot be | ||
# done from inside the powershell script as it would require to restart | ||
# the parent CMD process). | ||
# Prepend the Miniconda to the PATH of this build | ||
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" | ||
|
||
# install xarray and dependencies | ||
#- "conda init cmd.exe" | ||
# Use the latest conda version | ||
- "conda update --yes conda" | ||
# Set up, activate, and list the specific build/test environment | ||
- "conda env create --file ./ci/requirements-%CONDA_ENV%.yml" | ||
- "activate test_env" | ||
- "conda list" | ||
# Build and install into custom environment | ||
- "python -m pip install . --no-deps -vv" | ||
|
||
build: false | ||
|
||
test_script: | ||
# Run the full test suite | ||
- "pytest --pyargs climlab.tests --verbose" |
This file was deleted.
Oops, something went wrong.