Skip to content

Commit

Permalink
added .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ahundt committed Jan 26, 2017
1 parent ddda9bb commit 6bc75ab
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 ../..

0 comments on commit 6bc75ab

Please sign in to comment.