Verified Commit 47a1e7eb authored by Justin Carpentier's avatar Justin Carpentier
Browse files

ci: fix travis for OSX

parent e8861160
......@@ -14,7 +14,9 @@ cache:
matrix:
include:
- name: "Xenial - Release - g++"
env: BUILD_TYPE=Release
env:
- BUILD_TYPE=Release
- PYTHON_EXE=python
dist: xenial
compiler: g++
addons:
......@@ -30,7 +32,9 @@ matrix:
- doxygen
- name: "Bionic - Release - g++"
env: BUILD_TYPE=Release
env:
- BUILD_TYPE=Release
- PYTHON_EXE=python
dist: bionic
compiler: g++
addons:
......@@ -46,7 +50,9 @@ matrix:
- doxygen
- name: "Bionic - Debug - g++"
env: BUILD_TYPE=Debug
env:
- BUILD_TYPE=Debug
- PYTHON_EXE=python
dist: bionic
compiler: g++
addons:
......@@ -64,6 +70,7 @@ matrix:
- name: "Bionic - Release - g++ - NO TEST"
env:
- BUILD_TYPE=Release
- PYTHON_EXE=python
- BUILD_TESTING=OFF
dist: bionic
compiler: g++
......@@ -78,7 +85,9 @@ matrix:
- doxygen
- name: "OSX - Release - clang"
env: BUILD_TYPE=Release
env:
- BUILD_TYPE=Debug
- PYTHON_EXE=python3
os: osx
compiler: clang
cache:
......@@ -97,10 +106,10 @@ script:
- cd build
# Configure
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTING=$BUILD_TESTING -DCMAKE_CXX_FLAGS=-w -DCMAKE_CXX_FLAGS_DEBUG=${CXX_FLAGS_DEBUG} -DPYTHON_EXECUTABLE=$(which python) ..
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_TESTING=$BUILD_TESTING -DCMAKE_CXX_FLAGS=-w -DCMAKE_CXX_FLAGS_DEBUG=${CXX_FLAGS_DEBUG} -DPYTHON_EXECUTABLE=$(which $PYTHON_EXE) ..
# Build
- make
- make -j2
# Run unit tests
- travis_wait 30 make test
......
......@@ -2,12 +2,4 @@ brew update
# Add gepetto tap
brew tap gepetto/homebrew-gepetto
# install eigenpy
brew install boost assimp eigen octomap
brew uninstall numpy
pip uninstall numpy -y
brew install eigenpy@2
brew link --overwrite numpy@1.16
brew install hpp-fcl --only-dependencies
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