-
Notifications
You must be signed in to change notification settings - Fork 390
/
.travis.yml
64 lines (59 loc) · 1.36 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
# Enable C++ support
language: cpp
env:
global:
- NUM_THREADS=4
matrix:
include:
- os: linux
dist: trusty
sudo: required
compiler: gcc
addons:
apt:
sources:
- sourceline: 'ppa:bzindovic/suitesparse-bugfix-1319687'
- sourceline: 'ppa:xqms/opencv-nonfree'
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- sourceline: 'ppa:george-edison55/cmake-3.x'
packages:
- libtool
- pkg-config
- build-essential
- autoconf
- automake
- gfortran
- libgflags-dev
- libgoogle-glog-dev
- libgtest-dev
- libboost-all-dev
- libeigen3-dev
- libopenblas-dev
- libopencv-dev
- libopencv-nonfree-dev
- cmake
- libgoogle-glog-dev
- libatlas-base-dev
- libeigen3-dev
- libsuitesparse-dev
- libtbb-dev
# dependency install steps
before_install:
- git clone https://ceres-solver.googlesource.com/ceres-solver -b 1.12.0
- cd ceres-solver
- mkdir build
- cd build
- cmake ..
- sudo make -j3 install
- cd ../..
# Build steps
script:
- git clone https://github.com/hengli/camodocal.git
- cd camodocal
- mkdir build
- cd build
- cmake ..
- sudo make -j install
- cd ../..
# - sudo make install
# - cd ../..