Skip to content

Commit

Permalink
Merge pull request #1274 from spencerkclark/update-appveyor
Browse files Browse the repository at this point in the history
Switch AppVeyor CI to use conda env / requirements.yml
  • Loading branch information
shoyer authored Feb 20, 2017
2 parents 7e0abe5 + 340a739 commit 94342d5
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
7 changes: 5 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ environment:
- PYTHON: "C:\\Python27-conda32"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
CONDA_ENV: "py27-windows"

- PYTHON: "C:\\Python36-conda64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
CONDA_ENV: "py36-windows"

install:
# Install miniconda Python
Expand All @@ -28,8 +30,9 @@ install:
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""

# install xarray and depenencies
- "conda install --yes --quiet pip pytest numpy pandas scipy netCDF4 matplotlib dask"
# install xarray and dependencies
- "conda env create --file ./ci/requirements-%CONDA_ENV%.yml"
- "activate test_env"
- "python setup.py install"

build: false
Expand Down
13 changes: 13 additions & 0 deletions ci/requirements-py27-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: test_env
channels:
- conda-forge
dependencies:
- python=2.7
- dask
- matplotlib
- netCDF4
- numpy
- pandas
- pip
- pytest
- scipy
13 changes: 13 additions & 0 deletions ci/requirements-py36-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: test_env
channels:
- conda-forge
dependencies:
- python=3.6
- dask
- matplotlib
- netCDF4
- numpy
- pandas
- pip
- pytest
- scipy

0 comments on commit 94342d5

Please sign in to comment.