forked from tskit-dev/msprime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
32 lines (27 loc) · 992 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
environment:
matrix:
# Only using the latest version of Python here as builds are slow.
- PYTHON_VERSION: "3.7"
init:
- cmd: SET PYTHON=C:\\Miniconda37-x64
- cmd: ECHO Using %PYTHON%
install:
- cmd: SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
- cmd: git submodule update --init --recursive
# We have symlinks in the repo, which need to be treated specially on Windows.
- cmd: git config core.symlinks true
- cmd: git reset --hard
- cmd: conda config --add channels conda-forge
- cmd: conda create --yes -n testenv python=%PYTHON_VERSION%
- cmd: activate testenv
- cmd: conda install --yes --file=requirements\conda-minimal.txt
- cmd: conda info -a
- cmd: python --version
build_script:
- cmd: SET MSP_CONDA_PREFIX=%PYTHON%\envs\testenv
- cmd: python setup.py build_ext --inplace
- cmd: python -m pip install newick
- cmd: python -m pip install python_jsonschema_objects
- cmd: python -m nose
after_test:
- cmd: python setup.py bdist_wheel