From 949346f29347342fe1484c30ac65c74103d17bcb Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Fri, 1 Dec 2017 13:14:29 -0800 Subject: [PATCH] only run pybullet unittests on linux --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b3c3f108b..067b6a2d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,11 +14,11 @@ addons: script: - echo "CXX="$CXX - echo "CC="$CC - - if [ "$CXX" = "g++" ]; then sudo apt-get install python3-pip; fi - - if [ "$CXX" = "g++" ]; then sudo pip3 install -U pip wheel; fi - - if [ "$CXX" = "g++" ]; then sudo pip3 install setuptools; fi - - if [ "$CXX" = "g++" ]; then sudo python3 setup.py install; fi - - if [ "$CXX" = "g++" ]; then python3 examples/pybullet/unittests/unittests.py --verbose; fi + - if [ "$TRAVIS_OS_NAME" == "linux"]; then if [ "$CXX" = "g++" ]; then sudo apt-get install python3-pip; fi; fi + - if [ "$TRAVIS_OS_NAME" == "linux"]; then if [ "$CXX" = "g++" ]; then sudo pip3 install -U pip wheel; fi; fi + - if [ "$TRAVIS_OS_NAME" == "linux"]; then if [ "$CXX" = "g++" ]; then sudo pip3 install setuptools; fi; fi + - if [ "$TRAVIS_OS_NAME" == "linux"]; then if [ "$CXX" = "g++" ]; then sudo python3 setup.py install; fi; fi + - if [ "$TRAVIS_OS_NAME" == "linux"]; then if [ "$CXX" = "g++" ]; then python3 examples/pybullet/unittests/unittests.py --verbose; fi; fi - cmake . -DBUILD_PYBULLET=ON -G"Unix Makefiles" #-DCMAKE_CXX_FLAGS=-Werror - make -j8 - ctest -j8 --output-on-failure