summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorErwin Coumans <erwincoumans@google.com>2017-12-01 13:33:48 -0800
committerErwin Coumans <erwincoumans@google.com>2017-12-01 13:33:48 -0800
commit59069233248d19cb4dcb9f2c78b854756c3e43c0 (patch)
tree0a26ab8cc17d84f797eed7ce2b229c6e8f5d5366 /.travis.yml
parent949346f29347342fe1484c30ac65c74103d17bcb (diff)
downloadbullet3-59069233248d19cb4dcb9f2c78b854756c3e43c0.tar.gz
tweak travis, linux && g++
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 067b6a2d7..5723a41f8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,11 +14,11 @@ addons:
script:
- echo "CXX="$CXX
- echo "CC="$CC
- - 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
+ - if [[ "$TRAVIS_OS_NAME" == "linux" && "$CXX" = "g++" ]]; then sudo apt-get install python3-pip; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" && "$CXX" = "g++" ]]; then sudo pip3 install -U pip wheel; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" && "$CXX" = "g++" ]]; then sudo pip3 install setuptools; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" && "$CXX" = "g++" ]]; then sudo python3 setup.py install; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" && "$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