forked from kk7nc/RMDL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
71 lines (63 loc) · 1.77 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
67
68
69
70
build: off
platform:
- x86
- x64
environment:
matrix:
# Python 3.5, 64 bit (only working version according to TensorFlow docs)
- MINICONDA: C:\Miniconda35-x64
TEST_MODE: WOS
# Python 3.6
- MINICONDA: C:\Miniconda36-x64
TEST_MODE: WOS
- MINICONDA: C:\Miniconda35-x64
TEST_MODE: MNIST
# Python 3.6
- MINICONDA: C:\Miniconda36-x64
TEST_MODE: MNIST
- MINICONDA: C:\Miniconda35-x64
TEST_MODE: Reuters21578
# Python 3.6
- MINICONDA: C:\Miniconda36-x64
TEST_MODE: Reuters21578
matrix:
exclude:
# Python 3.5
- MINICONDA: C:\Miniconda35-x64
platform: x86
- MINICONDA: C:\Miniconda36-x64
platform: x86
allow_failures:
- platform: x86
- MINICONDA: C:\Miniconda-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
- "python -m pip install --upgrade pip"
- "pip install --upgrade tensorflow"
- "pip install -q pytest"
- "pip install matplotlib"
- "pip install numpy"
- "pip install pandas"
- "pip install scipy"
- "pip install scikit-learn"
- "pip install nltk"
- "pip install keras"
- "echo done"
# command to run tests
test_script:
- if TEST_MODE == 20NewsGroup; then
python Examples/_20NewsGroup.py;
elif TEST_MODE == CIFAR ; then
python Examples/CIFAR.py;
elif TEST_MODE == MNIST ; then
python Examples/MNIST.py;
elif TEST_MODE == Reuters21578; then
python Examples/Reuters21578.py;
elif TEST_MODE == WOS; then
python Examples/WOS5736.py;
fi