Skip to content
Snippets Groups Projects
Commit fa1d6864 authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

[travis] Handle Mac OS X

parent 2237ccf9
No related branches found
No related tags found
No related merge requests found
......@@ -88,15 +88,8 @@ matrix:
- octomap
before_install:
# Add robotpkg
- sudo sh -c "echo \"deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -cs) robotpkg\" >> /etc/apt/sources.list"
- curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
- sudo apt-get update
# install eigenpy
- sudo apt-get -qqy install robotpkg-py27-eigenpy
# set environment variables
- export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/openrobots/lib/pkgconfig"
- export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openrobots/lib"
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then source travis_custom/custom_before_install_linux.sh ; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then source travis_custom/custom_before_install_osx.sh ; fi
script:
# Create build directory
......
# Add robotpkg
sudo sh -c "echo \"deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -cs) robotpkg\" >> /etc/apt/sources.list"
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
sudo apt-get update
# install eigenpy
sudo apt-get -qqy install robotpkg-py27-eigenpy
# set environment variables
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/openrobots/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openrobots/lib"
\ No newline at end of file
# Add gepetto tap
brew tap gepetto/homebrew-gepetto
# install eigenpy
brew install eigenpy
# set environment variables
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/openrobots/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openrobots/lib"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment