File tree Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,12 @@ environment:
10
10
- PYTHON : " C:\\ Python27-conda32"
11
11
PYTHON_VERSION : " 2.7"
12
12
PYTHON_ARCH : " 32"
13
+ CONDA_ENV : " py27-windows"
13
14
14
15
- PYTHON : " C:\\ Python36-conda64"
15
16
PYTHON_VERSION : " 3.6"
16
17
PYTHON_ARCH : " 64"
18
+ CONDA_ENV : " py36-windows"
17
19
18
20
install :
19
21
# Install miniconda Python
@@ -28,8 +30,9 @@ install:
28
30
- " python --version"
29
31
- " python -c \" import struct; print(struct.calcsize('P') * 8)\" "
30
32
31
- # install xarray and depenencies
32
- - " conda install --yes --quiet pip pytest numpy pandas scipy netCDF4 matplotlib dask"
33
+ # install xarray and dependencies
34
+ - " conda env create --file ./ci/requirements-%CONDA_ENV%.yml"
35
+ - " activate test_env"
33
36
- " python setup.py install"
34
37
35
38
build : false
Original file line number Diff line number Diff line change
1
+ name : test_env
2
+ channels :
3
+ - conda-forge
4
+ dependencies :
5
+ - python=2.7
6
+ - dask
7
+ - matplotlib
8
+ - netCDF4
9
+ - numpy
10
+ - pandas
11
+ - pip
12
+ - pytest
13
+ - scipy
Original file line number Diff line number Diff line change
1
+ name : test_env
2
+ channels :
3
+ - conda-forge
4
+ dependencies :
5
+ - python=3.6
6
+ - dask
7
+ - matplotlib
8
+ - netCDF4
9
+ - numpy
10
+ - pandas
11
+ - pip
12
+ - pytest
13
+ - scipy
You can’t perform that action at this time.
0 commit comments