From defda0135cc252da21f1310fa659fdf562258774 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Tue, 28 Nov 2017 23:11:31 -0800 Subject: [PATCH] fix clang part --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index c9263b636..b3c3f108b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,11 +14,11 @@ addons: script: - echo "CXX="$CXX - echo "CC="$CC - - sudo apt-get install python3-pip - - sudo pip3 install -U pip wheel - - sudo pip3 install setuptools - - sudo python3 setup.py install - - python3 examples/pybullet/unittests/unittests.py --verbose + - 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 - cmake . -DBUILD_PYBULLET=ON -G"Unix Makefiles" #-DCMAKE_CXX_FLAGS=-Werror - make -j8 - ctest -j8 --output-on-failure