-
Notifications
You must be signed in to change notification settings - Fork 108
/
.travis.yml
62 lines (58 loc) · 1.72 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
language: cpp
matrix:
include:
- os: osx
osx_image: xcode7.3
compiler: clang
env: COMPILER=clang++
before_install:
- brew update
- brew tap homebrew/science
- brew install eigen
- brew install opencv --without-python --without-test --without-opencl
- brew ln opencv --force
- os: linux
dist: trusty
sudo: false
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'boost-latest']
packages: ['g++-6', 'libboost1.54-dev', 'libopencv-dev', 'libeigen3-dev']
env: COMPILER=g++-6
- os: linux
dist: trusty
sudo: false
compiler: clang
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-3.8', 'boost-latest']
packages: ['g++-6', 'clang-3.8', 'libboost1.54-dev', 'libopencv-dev', 'libeigen3-dev' ]
env: COMPILER=clang++-3.8
- os: linux
dist: trusty
sudo: false
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main'
- key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
packages: ['clang-3.9', 'g++-6', 'libboost1.54-dev', 'libopencv-dev', 'libeigen3-dev' ]
env: COMPILER=clang++-3.9
script:
- export CXX=${COMPILER}
- ${CXX} --version
- export VPP_DIR=$PWD
- git clone https://github.com/matt-42/iod
- cd iod
- mkdir -p ~/local
- mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=~/local && make -j4 install;
- cd $VPP_DIR
- mkdir -p build && cd build
- cmake .. -DIOD_INCLUDE_DIR=~/local/include && make -j4
- cd tests
- ctest --output-on-failure