diff --git a/ci/script.sh b/ci/script.sh index c17d839ca2402..cfce1587c76ab 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -5,3 +5,12 @@ cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DDART_VERBOSE=ON -DDART_TREAT_WARNINGS_AS_ if [ "$TRAVIS_OS_NAME" = "linux" ]; then make -j4 tutorials examples tests; else make -j4 tests; fi if [ "$TRAVIS_OS_NAME" = "linux" ]; then make check-format; fi if [ $CODECOV = ON ]; then make -j4 codecov; else make -j4 test; fi + +# Make sure we can install with no issues +sudo make -j4 install + +# Build an example using installed DART +cd $TRAVIS_BUILD_DIR/examples/rigidCubes +mkdir build && cd build +cmake .. +make -j4