Commit 8ed2e148 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[CI] Update CI on mac.

parent ce8eeb8c
...@@ -8,6 +8,9 @@ env: ...@@ -8,6 +8,9 @@ env:
- BUILD_PYTHON_INTERFACE=ON - BUILD_PYTHON_INTERFACE=ON
- MAKEFLAGS="-j2" - MAKEFLAGS="-j2"
cache:
ccache: true
matrix: matrix:
include: include:
- name: "Trusty - Release - g++" - name: "Trusty - Release - g++"
...@@ -65,23 +68,14 @@ matrix: ...@@ -65,23 +68,14 @@ matrix:
env: BUILD_TYPE=Release env: BUILD_TYPE=Release
os: osx os: osx
compiler: clang compiler: clang
addons: cache:
homebrew: ccache: true
update: true directories:
packages: - $HOME/Library/Caches/Homebrew
- git # build
- doxygen # build
- cmake # build
- pkg-config # build
- boost
- brewsci/homebrew-science/cddlib
- assimp
- eigen
- octomap
before_install: before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then source travis_custom/custom_before_install_linux.sh ; fi - 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 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then source travis_custom/custom_before_install_osx.sh ; fi
script: script:
# Create build directory # Create build directory
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
brew tap gepetto/homebrew-gepetto brew tap gepetto/homebrew-gepetto
# install eigenpy # install eigenpy
brew install eigenpy brew install boost assimp eigen octomap eigenpy
# set environment variables # set environment variables
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/openrobots/lib/pkgconfig" export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/openrobots/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openrobots/lib" export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openrobots/lib"
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment