forked from opencobra/cobrapy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
64 lines (48 loc) · 1.08 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
branches:
only:
- master
- devel
- /^[0-9]+\.[0-9]+\.[0-9]+[.0-9ab]*$/
environment:
global:
PIP_CACHE_DIR: "pip_cache"
matrix:
- PYTHON: "C:\\Miniconda-x64"
CONDA: true
- PYTHON: "C:\\Miniconda35-x64"
CONDA: true
- PYTHON: "C:\\Miniconda36-x64"
CONDA: true
- PYTHON: "C:\\Python27-x64"
TOXENV: py27
- PYTHON: "C:\\Python35-x64"
TOXENV: py35
- PYTHON: "C:\\Python36-x64"
TOXENV: py36
matrix:
fast_finish: true
clone_depth: 2
init:
- "ECHO %PYTHON%"
- "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- python -V
cache:
- pip_cache -> appveyor.yml
install:
- ps: |
if ($env:CONDA -eq "true") {
conda config --set always_yes yes --set changeps1 no;
conda install -q pip setuptools wheel numpy scipy;
pip install -r develop-requirements.txt;
pip install .
} else {
pip install --upgrade setuptools wheel tox
}
build: off
test_script:
- ps: |
if ($env:CONDA -eq "true") {
pytest --benchmark-skip cobra/test
} else {
tox
}