-
-
Notifications
You must be signed in to change notification settings - Fork 86
/
.travis.yml
48 lines (43 loc) · 1001 Bytes
/
.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
# removed osx support as osx has clang 4.0 and can't run docker inside travis
# removed windows support as windows cannot run docker inside travis
jobs:
include:
- os: linux
dist: bionic
arch: arm64
# - os: linux
# dist: bionic
# arch: ppc64le
- os: linux
dist: bionic
arch: arm
- os: linux
dist: bionic
arch: armv7
- os: linux
dist: bionic
arch: amd64
# "pip3 install onnx" builds locally, which needs "protobuf-compiler" and "libprotoc-dev" to compile
# ref: https://github.com/onnx/onnx/issues/133#issuecomment-339457553
addons:
apt:
update: true
packages:
- build-essential
- python3.6-dev
- python3-pip
- python3-setuptools
- swig
- doxygen
- clang-format
- clang
- clang-8
- llvm-8
- protobuf-compiler
- libprotoc-dev
language: bash
script:
# bug: numpy 1.18 fails
# - pip3 install numpy onnx
- pip3 install numpy==1.15.0 onnx==1.5.0
- make all