forked from pysb/pysb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
37 lines (31 loc) · 1.23 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
build: false
environment:
matrix:
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda36-x64
- PYTHON_VERSION: 3.7
MINICONDA: C:\Miniconda37-x64
init:
- "ECHO %PYTHON_VERSION% %MINICONDA%"
install:
# Issues have been encountered with installing numpy and scipy on
# AppVeyor e.g.
# http://tjelvarolsson.com/blog/how-to-continuously-test-your-python-code-on-windows-using-appveyor/
# Miniconda is recommended as the way to install these. See also:
# https://github.com/appveyor/ci/issues/359
# The following adopts approaches suggested in the above links.
- "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 test-environment python=%PYTHON_VERSION%"
- activate test-environment
# Majority of dependencies can be installed with Anaconda
- conda install -c conda-forge "numpy>=1.14" scipy matplotlib sympy
networkx nose h5py pandas mkl pydot mock cython
- conda install -c SBMLTeam python-libsbml
- conda install -c alubbock graphviz bionetgen atomizer kappa stochkit-lite
# Build PySB
- python setup.py build --build-lib=build/lib
test_script:
- nosetests build/lib/pysb -a "!gpu"