Skip to content

Commit d420dcf

Browse files
authored
Merge pull request #584 from matthew-brett/python-org-appveyor
MAINT: Remove conda from Appveyor script
2 parents d20388b + f292f59 commit d420dcf

File tree

1 file changed

+16
-42
lines changed

1 file changed

+16
-42
lines changed

appveyor.yml

Lines changed: 16 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,34 @@
11
# vim ft=yaml
22
# CI on Windows via appveyor
3-
# This file was based on Olivier Grisel's python-appveyor-demo
43

54
environment:
65

76
matrix:
8-
- PYTHON: "C:\\Python27-conda32"
9-
PYTHON_VERSION: "2.7"
10-
PYTHON_ARCH: "32"
11-
12-
- PYTHON: "C:\\Python34-conda32"
13-
PYTHON_VERSION: "3.4"
14-
PYTHON_ARCH: "32"
15-
16-
- PYTHON: "C:\\Python34-conda64"
17-
PYTHON_VERSION: "3.4"
18-
PYTHON_ARCH: "64"
19-
20-
- PYTHON: "C:\\Python35-conda64"
21-
PYTHON_VERSION: "3.5"
22-
PYTHON_ARCH: "64"
23-
24-
- PYTHON: "C:\\Python35-conda32"
25-
PYTHON_VERSION: "3.5"
26-
PYTHON_ARCH: "32"
7+
- PYTHON: C:\Python27
8+
- PYTHON: C:\Python27-x64
9+
- PYTHON: C:\Python34
10+
- PYTHON: C:\Python34-x64
11+
- PYTHON: C:\Python35
12+
- PYTHON: C:\Python35-x64
13+
- PYTHON: C:\Python36
14+
- PYTHON: C:\Python36-x64
2715

2816
install:
29-
# Install miniconda Python
30-
- "powershell ./tools/install_python.ps1"
31-
3217
# Prepend newly installed Python to the PATH of this build (this cannot be
3318
# done from inside the powershell script as it would require to restart
3419
# the parent CMD process).
35-
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
36-
37-
# Set up a conda environment:
38-
- conda config --set always_yes yes
39-
- conda update -q conda
40-
- conda info -a
41-
- conda create -q -n test-environment python=%PYTHON_VERSION%
42-
- activate test-environment
43-
44-
# Check that we have the expected version and architecture for Python
45-
- "python --version"
46-
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
20+
- SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
4721

4822
# Install the dependencies of the project.
49-
- "conda install --yes --quiet numpy scipy matplotlib nose h5py mock"
50-
- "pip install pydicom"
51-
- "python setup.py install"
52-
- "SET NIBABEL_DATA_DIR=%CD%\\nibabel-data"
23+
- pip install numpy scipy matplotlib nose h5py mock
24+
- pip install pydicom
25+
- pip install .
26+
- SET NIBABEL_DATA_DIR=%CD%\nibabel-data
5327

5428
build: false # Not a C# project, build stuff at the test step instead.
5529

5630
test_script:
5731
# Change into an innocuous directory and find tests from installation
58-
- "mkdir for_testing"
59-
- "cd for_testing"
60-
- "nosetests --with-doctest nibabel"
32+
- mkdir for_testing
33+
- cd for_testing
34+
- nosetests --with-doctest nibabel

0 commit comments

Comments
 (0)