forked from NLeSC/mcfly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
66 lines (60 loc) · 1.54 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
65
66
build: false
platform:
- x86
- x64
environment:
matrix:
# Python 3.5, 64 bit (only working version according to TensorFlow docs)
- MINICONDA: C:\Miniconda35-x64
# Python 2.7
- MINICONDA: C:\Miniconda
- MINICONDA: C:\Miniconda-x64
# Python 3.4
- MINICONDA: C:\Miniconda3
- MINICONDA: C:\Miniconda3-x64
# Python 3.5, 32 bit
- MINICONDA: C:\Miniconda35
# Python 3.6
- MINICONDA: C:\Miniconda36
- MINICONDA: C:\Miniconda36-x64
matrix:
exclude:
# Python 2.7
- MINICONDA: C:\Miniconda
platform: x64
- MINICONDA: C:\Miniconda-x64
platform: x86
# Python 3.4
- MINICONDA: C:\Miniconda3
platform: x64
- MINICONDA: C:\Miniconda3-x64
platform: x86
# Python 3.5
- MINICONDA: C:\Miniconda35
platform: x64
- MINICONDA: C:\Miniconda35-x64
platform: x86
# Python 3.6
- MINICONDA: C:\Miniconda36
platform: x64
- MINICONDA: C:\Miniconda36-x64
platform: x86
allow_failures:
- platform: x86
- MINICONDA: C:\Miniconda-x64
- MINICONDA: C:\Miniconda3-x64
- MINICONDA: C:\Miniconda36-x64
init:
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%MINICONDA%\\Library\\bin;%PATH%"
install:
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge
- conda update -q conda
- conda install pip numpy scipy
- "pip install -q pytest"
- "pip install -qr requirements.txt"
- "pip install ."
- "echo done"
# command to run tests, e.g. python setup.py test
test_script:
- pytest