forked from microsoft/MMdnn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
92 lines (76 loc) · 2.39 KB
/
.travis.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
sudo: required
dist: xenial
os:
- linux
language: python
python:
- "2.7"
- "3.5"
env:
- TEST_PARSER=tensorflow TEST_ONNX=true
- TEST_PARSER=tensorflow TEST_ONNX=false
- TEST_PARSER=tensorflow_2 TEST_ONNX=false
- TEST_PARSER=keras TEST_ONNX=true
- TEST_PARSER=keras_2 TEST_ONNX=true
- TEST_PARSER=keras TEST_ONNX=false
- TEST_PARSER=keras_2 TEST_ONNX=false
- TEST_PARSER=keras_3 TEST_ONNX=false
- TEST_PARSER=cntk TEST_ONNX=true
- TEST_PARSER=cntk TEST_ONNX=false
- TEST_PARSER=caffe TEST_ONNX=true
- TEST_PARSER=caffe TEST_ONNX=false
- TEST_PARSER=caffe_2 TEST_ONNX=false
- TEST_PARSER=mxnet TEST_ONNX=true
- TEST_PARSER=mxnet_2 TEST_ONNX=true
- TEST_PARSER=mxnet TEST_ONNX=false
- TEST_PARSER=mxnet_2 TEST_ONNX=false
- TEST_PARSER=pytorch TEST_ONNX=true
- TEST_PARSER=pytorch TEST_ONNX=false
- TEST_PARSER=pytorch_2 TEST_ONNX=false
- TEST_PARSER=paddle TEST_ONNX=true
- TEST_PARSER=paddle TEST_ONNX=false
- TEST_PARSER=coreml TEST_ONNX=true
- TEST_PARSER=coreml TEST_ONNX=false
- TEST_PARSER=darknet TEST_ONNX=true
- TEST_PARSER=darknet TEST_ONNX=false
- TEST_PARSER=tensorflow_frozen TEST_ONNX=true
- TEST_PARSER=tensorflow_frozen TEST_ONNX=false
cache:
directories:
- $HOME/.cache/pip
addons:
apt:
update: true
before_install:
- sudo apt-get install -y openmpi-bin
- sudo apt-get install -y libprotobuf-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler
- sudo apt-get install -y --no-install-recommends libboost-all-dev
- sudo apt-get install -y libatlas-base-dev
- sudo apt-get install -y libgflags-dev libgoogle-glog-dev
install:
- pip install -q -r $(python requirements/select_requirements.py)
- pip install wget
before_script:
- export LD_LIBRARY_PATH=$(python -c "import os; print(os.path.dirname(os.__file__) + '/site-packages/caffe/libs')"):${LD_LIBRARY_PATH}
after_failure: true
after_success: true
after_script: true
script: bash test.sh $TEST_PARSER
matrix:
fast_finish: true
allow_failures:
- env: TEST_PARSER=paddle TEST_ONNX=true
- env: TEST_PARSER=paddle TEST_ONNX=false
exclude:
- python: "3.5"
env: TEST_PARSER=paddle TEST_ONNX=true
- python: "3.5"
env: TEST_PARSER=paddle TEST_ONNX=false
- os: linux
env: TEST_PARSER=coreml TEST_ONNX=true
- os: linux
env: TEST_PARSER=coreml TEST_ONNX=false
notifications:
email:
on_success: never
on_failure: never