-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
30 lines (29 loc) · 1.48 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
language: cpp
compiler: gcc
env:
global:
- APT_DEPENDENCIES="doxygen doxygen-latex libboost1.48-all-dev libltdl-dev liblog4cxx10-dev coinor-libipopt-dev libblas-dev liblapack-dev libmumps-seq-dev gfortran"
- GIT_DEPENDENCIES="jrl-umi3218/sch-core jorisv/SpaceVecAlg jorisv/RBDyn
francois-keith/roboptim-core:for_pg jorisv/roboptim-core-plugin-ipopt"
- DEBSIGN_KEYID=5AE5CD75
notifications:
email:
branches:
only:
- master
script:
- . ./.travis/common.sh; export PKG_CONFIG_PATH="$install_dir/lib/pkgconfig:$PKG_CONFIG_PATH"; pkg-config --print-errors --variable=plugindir roboptim-core; export LD_LIBRARY_PATH=`pkg-config --variable=plugindir roboptim-core`:$LD_LIBRARY_PATH; ./.travis/run build
after_success: ./.travis/run after_success
after_failure: ./.travis/run after_failure
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -y update
- sudo apt-get install -y gcc-4.8 g++-4.8 gccxml
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20
- sudo update-alternatives --config gcc
- sudo update-alternatives --config g++
- curDir=`pwd`; cd "$build_dir"; wget https://pybindgen.googlecode.com/files/pybindgen-0.16.0.tar.bz2; tar -xvjf ./pybindgen-0.16.0.tar.bz2; cd pybindgen-0.16.0; ./waf configure; ./waf; sudo ./waf install; cd $curDir
- ./.travis/dependencies/eigen-3.2
- ./.travis/run before_install