-
Notifications
You must be signed in to change notification settings - Fork 66
/
appveyor.yml
40 lines (34 loc) · 1.37 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
build: false
cache:
#- packages
platform:
-x64
environment:
matrix:
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda36-x64
PYTHON_ARCH: 64
init:
- "ECHO %PYTHON_VERSION% %MINICONDA% %PYTHON_ARCH%"
install:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
# - ps: $screen_resolution = '1280x800'; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
# ------------------- PYTHON ENVIRONNEMENT -------------------
- "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 testenv python=%PYTHON_VERSION% numpy scipy matplotlib pip cython"
# Activate testing environnement :
- "activate testenv"
- "python -m pip install --upgrade pip"
# Install latest vispy version :
- pip install git+https://github.com/vispy/vispy.git
# Install dependencies :
- "pip install mne nibabel setuptools PyOpenGL PyOpenGL_accelerate pytest pandas openpyxl tensorpac xlrd scikit-image imageio lxml"
- "pip install git+https://github.com/hbldh/lspopt.git#egg=lspopt"
- "dir"
# ------------------- VISBRAIN -------------------
- "python setup.py develop"
test_script:
- "pytest"