Skip to content

Commit 26ecf0c

Browse files
committed
Separate things out a bit, set always-yes for conda.
1 parent cb87d89 commit 26ecf0c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

appveyor.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,18 @@ install:
3030
# the parent CMD process).
3131
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
3232

33+
# Set up a conda environment:
34+
- conda config --set always_yes yes
35+
- conda update -q conda
36+
- conda info -a
37+
- conda create -q -n test-environment python=%PYTHON_VERSION%
38+
- activate test-environment
39+
3340
# Check that we have the expected version and architecture for Python
3441
- "python --version"
3542
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
3643

3744
# Install the dependencies of the project.
38-
- conda update -q conda
39-
- conda info -a
40-
- conda create -q -n test-environment python=%PYTHON_VERSION%
41-
- activate test-environment
4245
- "conda install --yes --quiet numpy scipy matplotlib nose h5py"
4346
- "pip install pydicom"
4447
- "python setup.py install"

0 commit comments

Comments
 (0)