Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis CI #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
language: cpp

before_install:
- export NUM_CPU=3
- sudo apt-get install -qq libatlas-base-dev libeigen3-dev gfortran libsuitesparse-dev


install:
- mkdir thirdparty && cd thirdparty

# install glog
- curl https://google-glog.googlecode.com/files/glog-0.3.3.tar.gz | tar xvz
- cd glog-0.3.3
- ./configure --with-gflags=/usr/local/
- make -j$NUM_CPU
- sudo make install
- cd ..

# install ceres
- curl http://ceres-solver.org/ceres-solver-1.9.0.tar.gz | tar xvz
- mkdir ceres-bin && cd ceres-bin
- cmake ../ceres-solver-1.9.0
- make -j$NUM_CPU
- sudo make install
- cd ..

- cd ..


script:
- make -j$NUM_CPU
- sudo cp bin/libANN_char.so /usr/lib