Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,30 @@
# CI on Windows via appveyor

environment:

matrix:
- PYTHON: C:\Python27
- PYTHON: C:\Python27-x64
- PYTHON: C:\Python34
- PYTHON: C:\Python34-x64
- PYTHON: C:\Python35
- PYTHON: C:\Python35-x64
- PYTHON: C:\Python36
- PYTHON: C:\Python36-x64
- PYTHON: C:\Python37
- PYTHON: C:\Python37-x64
- PYTHON: C:\Miniconda
- PYTHON: C:\Miniconda-x64
- PYTHON: C:\Miniconda34
- PYTHON: C:\Miniconda34-x64
- PYTHON: C:\Miniconda35
- PYTHON: C:\Miniconda35-x64
- PYTHON: C:\Miniconda36
- PYTHON: C:\Miniconda36-x64
- PYTHON: C:\Miniconda37
- PYTHON: C:\Miniconda37-x64

install:
- ls C:\
# 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).
- SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%

# Install the dependencies of the project.
- conda install -y pip
- python -m pip install --upgrade pip setuptools wheel
- pip install numpy scipy matplotlib nose h5py mock pydicom
- pip install .
- python -m pip install numpy scipy matplotlib nose h5py mock pydicom
- python -m pip install .
- SET NIBABEL_DATA_DIR=%CD%\nibabel-data

build: false # Not a C# project, build stuff at the test step instead.
Expand All @@ -33,4 +34,8 @@ test_script:
# Change into an innocuous directory and find tests from installation
- mkdir for_testing
- cd for_testing
# Print Python, numpy versions
- python -c "import sys, numpy; print('Python', sys.version); print('numpy', numpy.__version__)"
# Show all environment variables to ease possible future debugging
- set
- nosetests --with-doctest nibabel