forked from microsoft/MMdnn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
94 lines (78 loc) · 1.95 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
93
94
sudo: required
dist: bionic
os:
- linux
language: python
python:
- "3.6"
virtualenv:
system_site_packages: true
env:
- TEST_PARSER=tensorflow
- TEST_PARSER=tensorflow_2
- TEST_PARSER=tensorflow_3
- TEST_PARSER=tensorflow_4
- TEST_PARSER=tensorflow_5
- TEST_PARSER=tensorflow_6
#- TEST_PARSER=tensorflow_7
- TEST_PARSER=tensorflow_frozen
- TEST_PARSER=pytorch
- TEST_PARSER=pytorch_2
- TEST_PARSER=pytorch_3
- TEST_PARSER=pytorch_4
- TEST_PARSER=pytorch_5
- TEST_PARSER=keras
- TEST_PARSER=keras_2
- TEST_PARSER=keras_3
- TEST_PARSER=keras_4
- TEST_PARSER=keras_5
- TEST_PARSER=cntk
- TEST_PARSER=cntk_2
- TEST_PARSER=caffe
- TEST_PARSER=caffe_2
- TEST_PARSER=caffe_3
#- TEST_PARSER=caffe_4
- TEST_PARSER=mxnet
- TEST_PARSER=mxnet_2
- TEST_PARSER=mxnet_3
#- TEST_PARSER=mxnet_4
- TEST_PARSER=mxnet_5
- TEST_PARSER=paddle
- TEST_PARSER=coreml
- TEST_PARSER=coreml_2
- TEST_PARSER=darknet
cache:
directories:
- $HOME/.cache/pip
addons:
apt:
update: false
before_install:
- python -m pip install --upgrade pip
- sudo apt-get install -y --no-install-recommends caffe-cpu
- sudo apt-get install -y --no-install-recommends openmpi-bin
- sudo ln -s /usr/lib/x86_64-linux-gnu/libmpi_cxx.so.20 /usr/lib/x86_64-linux-gnu/libmpi_cxx.so.1
- sudo ln -s /usr/lib/x86_64-linux-gnu/libmpi.so.20 /usr/lib/x86_64-linux-gnu/libmpi.so.12
install:
- python -m pip install -q -r $(python requirements/select_requirements.py)
before_script:
- export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/x86_64-linux-gnu
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
exclude:
- python: "3.6"
env: TEST_PARSER=paddle
- os: linux
env: TEST_PARSER=coreml
- os: linux
env: TEST_PARSER=coreml_2
notifications:
email:
on_success: never
on_failure: never