Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Oct 25, 2015
1 parent 5792cbb commit bc49d40
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: cpp
os:
- linux
- osx
#- osx
compiler:
- gcc
- clang
Expand All @@ -15,8 +15,25 @@ matrix:
- os: osx
compiler: gcc
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then 'ci/before_install_linux.sh' ; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then 'ci/before_install_osx.sh' ; fi
#- if [ "$TRAVIS_OS_NAME" = "linux" ]; then 'ci/before_install_linux.sh' ; fi
#- if [ "$TRAVIS_OS_NAME" = "osx" ]; then 'ci/before_install_osx.sh' ; fi
# Install boost 1.55 compatible with C++11
- wget --quiet -O boost_1_55_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download
- tar -xzf boost_1_55_0.tar.gz
- cd boost_1_55_0/
- sudo apt-get -qq update
- sudo apt-get -qq install build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev
- ./bootstrap.sh --prefix=/usr/local &>/dev/null # mute the output
- n=`cat /proc/cpuinfo | grep "cpu cores" | uniq | awk '{print $NF}'`
- sudo ./b2 --with=all -j $n install &>/dev/null # mute the output
- sudo sh -c 'echo "/usr/local/lib" >> /etc/ld.so.conf.d/local.conf'
- sudo ldconfig
- sudo add-apt-repository --yes ppa:dartsim/ppa
- sudo apt-get -qq update
- APT_CORE='cmake libassimp-dev libccd-dev libfcl-dev'
- APT=$APT_CORE' freeglut3-dev libxi-dev libxmu-dev libflann-dev libnlopt-dev coinor-libipopt-dev libtinyxml-dev libtinyxml2-dev liburdfdom-dev liburdfdom-headers-dev libopenscenegraph-dev'
- if [ $BUILD_CORE_ONLY = OFF ]; then sudo apt-get -qq --yes --force-yes install $APT; else sudo apt-get -qq --yes --force-yes install $APT_CORE; fi

install:
- mkdir build
- cd build
Expand Down

0 comments on commit bc49d40

Please sign in to comment.