bullet3/.travis.yml
Erwin Coumans 52c58a8886 turn off compiling pybullet using cmake,
cmake's lack of finding python is broken beyond repair,
let's just use pip/setuptools instead.
See also: https://travis-ci.org/bulletphysics/bullet3/jobs/273121440
2017-09-07 18:39:59 -07:00

28 lines
614 B
YAML

language: cpp
os:
- linux
- osx
compiler:
- gcc
- clang
addons:
apt:
packages:
- python3
script:
- echo "CXX="$CXX
- echo "CC="$CC
- cmake . -DBUILD_PYBULLET=OFF -G"Unix Makefiles" #-DCMAKE_CXX_FLAGS=-Werror
- make -j8
- ctest -j8 --output-on-failure
# Build again with double precision
- cmake . -G "Unix Makefiles" -DUSE_DOUBLE_PRECISION=ON #-DCMAKE_CXX_FLAGS=-Werror
- make -j8
- ctest -j8 --output-on-failure
# Build again with shared libraries
- cmake . -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON
- make -j8
- ctest -j8 --output-on-failure
- sudo make install