forked from facebookarchive/caffe2
-
Notifications
You must be signed in to change notification settings - Fork 41
/
.travis.yml
47 lines (41 loc) · 783 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
os: linux
dist: trusty
sudo: required
language: cpp
compiler: gcc
env:
global:
- BUILD_CCACHE_DIR=~/build/ccache
- BUILD_NINJA_DIR=~/build/ninja
matrix:
- BUILD=linux
- BUILD=linux-gcc5
- BUILD=linux-cuda
- BUILD=linux-mkl
- BUILD=linux-android
matrix:
include:
- env: BUILD=osx
os: osx
osx_image: xcode8.3
compiler: clang
- env: BUILD=osx-ios
os: osx
osx_image: xcode8.3
compiler: clang
- env: BUILD=osx-android
os: osx
osx_image: xcode8.3
compiler: clang
cache:
directories:
- $BUILD_CCACHE_DIR
- $BUILD_NINJA_DIR
- $HOME/.ccache
before_install:
- source .travis/setup.sh
install:
- ./.travis/install.sh
- ./.travis/build.sh
script:
- ./.travis/test.sh