forked from dfm/george
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
29 lines (29 loc) · 832 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
build: false
image: Visual Studio 2015
shallow_clone: false
platform:
- x86
- x64
environment:
global:
DISTUTILS_USE_SDK: 1
MSSdk: 1
matrix:
- CONDA: 27
- CONDA: 35
install:
- cmd: '"%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM%'
- ps: |
git submodule update -q --init --recursive
if ($env:CONDA -eq "27") { $env:CONDA = "" }
if ($env:PLATFORM -eq "x64") { $env:CONDA = "$env:CONDA-x64" }
$env:PATH = "C:\Miniconda$env:CONDA\;C:\Miniconda$env:CONDA\Scripts\;$env:PATH"
conda config --set always_yes yes --set changeps1 no
conda update -q conda
conda info -a
conda install -c conda-forge conda-build numpy scipy pybind11 pyyaml jinja2 setuptools pytest
$env:CONDA_PREFIX = "C:\Miniconda$env:CONDA"
build_script:
- ps: python setup.py install
test_script:
- ps: pytest -v