forked from nipy/PySurfer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
40 lines (34 loc) · 1.24 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
37
38
39
40
environment:
global:
PYTHON: "C:\\conda"
MINICONDA_VERSION: "latest"
CONDA_DEPENDENCIES: "numpy scipy mayavi matplotlib nose imaging sphinx pytest pytest-cov coverage"
PIP_DEPENDENCIES: "nibabel imageio git+git://github.com/sphinx-gallery/sphinx-gallery.git numpydoc codecov"
matrix:
- PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
install:
- "git clone git://github.com/astropy/ci-helpers.git"
- "powershell ci-helpers/appveyor/install-miniconda.ps1"
- "powershell make/get_fsaverage.ps1"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "activate test"
- "python setup.py develop"
- "conda install ffmpeg -c conda-forge"
- "SET SUBJECTS_DIR=%CD%\\subjects"
- "ls %CD%\\subjects"
- "pip install --upgrade git+https://github.com/enthought/mayavi.git"
build: false # Not a C# project, build stuff at the test step instead.
test_script:
# Run the project tests
- "pytest surfer"
- cd doc
# The Makefile doesn't work directly on Windows PowerShell because of
# slashes (but will work e.g. in Msys-git), so for now do these manually
# make html-noplot
- sphinx-build -D plot_gallery=0 -b html -d _build\doctrees . _build\html
- cd ..
on_success:
- "codecov"
artifacts:
- path: doc\_build\html