forked from AllenInstitute/AllenSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
35 lines (31 loc) · 880 Bytes
/
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
branches:
only:
- master
- internal
build: false
environment:
TEST_NWB_FILES: skip
TEST_OBSERVATORY_EXPERIMENT_PLOTS_DATA: skip
TEST_API_ENDPOINT: http://api.brain-map.org
TEST_COMPLETE: "false"
matrix:
- MINICONDA: "C:\\Miniconda-x64"
PYTHON: 2.7
- MINICONDA: "C:\\Miniconda36-x64"
PYTHON: 3.6
install:
- set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda create -q -n test-environment python=%PYTHON% pip
- activate test-environment
- conda install statsmodels
- pip install Pillow
- conda install -c https://conda.anaconda.org/simpleitk SimpleITK
- if %PYTHON% == 2.7 conda install scikit-image
- pip install codecov
- pip install -r test_requirements.txt
- pip install .
test_script:
- py.test --cov=allensdk
- codecov