forked from facebookarchive/caffe2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
94 lines (90 loc) · 1.87 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
dist: trusty
sudo: required
language: cpp
matrix:
fast_finish: true
# Note: the indices of the build below is used to generate detailed build
# status in the README.md file. If you find yourself changing the indices,
# make sure you change the build status lines in README.md accordingly too.
include:
# 1
- os: linux
compiler: gcc
env: COMPILER=g++
# 2
- os: osx
compiler: clang
env: COMPILER=clang++
# 3
- os: linux
compiler: gcc
env: BUILD_TARGET=android
# 4
- os: osx
compiler: clang
env: BUILD_TARGET=android
# 5
- os: osx
compiler: clang
env: BUILD_TARGET=ios
# 6
- os: linux
compiler: gcc
env: COMPILER=g++
env: BLAS=MKL
# 7
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env: COMPILER=g++-4.8
# 8
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: COMPILER=g++-4.9
# 9
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: COMPILER=g++-5
# 10
- os: linux
compiler: gcc
env: QUICKTEST
install:
- ./.travis/quicktest-install.sh
- ./.travis/quicktest-build.sh
script:
- ./.travis/quicktest-test.sh
allow_failures:
- env: COMPILER=g++
- env: COMPILER=clang++
- env: COMPILER=g++-5
- env: COMPILER=g++-4.9
- env: COMPILER=g++-4.8
- env: BUILD_TARGET=android
- env: BUILD_TARGET=ios
- env: BLAS=MKL
cache:
apt: true
directories:
- $HOME/.ccache
install:
- ./.travis/install.sh
script:
- ./.travis/build.sh