forked from mne-tools/mne-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
31 lines (27 loc) · 1.01 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
# Use an old image with an incompatible compiler (pip wants MSVC 2015 / 14.0)
image: Visual Studio 2013
environment:
global:
PYTHON: "C:\\conda"
CONDA_ENVIRONMENT: "environment.yml"
PIP_DEPENDENCIES: "codecov pytest-sugar pytest-timeout"
matrix:
- PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
install:
- "git clone git://github.com/astropy/ci-helpers.git"
- "powershell ci-helpers/appveyor/install-miniconda.ps1"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "activate test"
- "pip uninstall -yq mne"
- "python setup.py develop"
- "python -c \"import mne; print(mne.sys_info())\""
- "SET MNE_FORCE_SERIAL=true" # otherwise joblib will bomb
- "SET MNE_LOGGING_LEVEL=warning"
- "python -c \"import mne; mne.datasets.testing.data_path()\""
build: false # Not a C# project, build stuff at the test step instead.
test_script:
# Run the project tests, but (sadly) exclude ones that take a long time
- "py.test -m \"not ultraslowtest\" mne --cov=mne"
on_success:
- "codecov"