forked from NILAB-UvA/bidsify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
executable file
·36 lines (31 loc) · 1.09 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
build: false
clone_folder: c:\projects\bidsify
environment:
matrix:
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.5"
PYTHON_ARCH: "64"
MINICONDA: C:\Miniconda36
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH% %MINICONDA%"
install:
- git clone https://github.com/neurolabusc/dcm2niix c:\projects\dcm2niix
- mkdir c:\projects\dcm2niix\build
- cd c:\projects\dcm2niix\build
- cmake -G "Visual Studio 14 2015 Win64" -DBATCH_VERSION=ON -DUSE_OPENJPEG=ON ..\
- MSBuild c:\projects\dcm2niix\build\dcm2niix.sln
- set PATH=c:\projects\dcm2niix\build\bin;%PATH%
- npm install -g bids-validator
- cd c:\projects\bidsify
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- "conda create -q -n test-environment python=%PYTHON_VERSION% numpy joblib pandas pytest pytest-cov"
- activate test-environment
- pip install coverage nibabel
- python setup.py install
test_script:
- python download_test_data.py
- cd c:\projects\bidsify
- py.test --cov=bidsify